summaryrefslogtreecommitdiff
path: root/package/lsof/lsof-4.85-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/lsof/lsof-4.85-makefile.patch')
-rw-r--r--package/lsof/lsof-4.85-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lsof/lsof-4.85-makefile.patch b/package/lsof/lsof-4.85-makefile.patch
new file mode 100644
index 000000000..65b1b2e2a
--- /dev/null
+++ b/package/lsof/lsof-4.85-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