summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-0001-makefile.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-06-29 12:05:03 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-29 17:36:29 +0200
commitb51d78c4d77f565b56f80664fb21fa9c8ee2a676 (patch)
treea770e881ce0792822b708b16f13a2c6940a097ae /package/lsof/lsof-0001-makefile.patch
parent61bbbf3a892c951ef14722f2a0d9210ba5be9194 (diff)
downloadbuildroot-b51d78c4d77f565b56f80664fb21fa9c8ee2a676.tar.gz
buildroot-b51d78c4d77f565b56f80664fb21fa9c8ee2a676.zip
lsof: bump to version 4.87
And install to /usr/bin/lsof rather than /bin/lsof otherwise we still keep busybox lsof. [Thomas: fix patch numbering, two patches had the 0001 sequence number.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lsof/lsof-0001-makefile.patch')
-rw-r--r--package/lsof/lsof-0001-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lsof/lsof-0001-makefile.patch b/package/lsof/lsof-0001-makefile.patch
new file mode 100644
index 0000000000..65b1b2e2a7
--- /dev/null
+++ b/package/lsof/lsof-0001-makefile.patch
@@ -0,0 +1,14 @@
+diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel
+--- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100
++++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100
+@@ -21,8 +21,8 @@
+ all: ${LIB}
+
+ ${LIB}: ${OBJ}
+- ${AR}
+- ${RANLIB}
++ ${AR} cr ${LIB} ${OBJ}
++ ${RANLIB} ${LIB}
+
+ clean: FRC
+ rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core
OpenPOWER on IntegriCloud