kumquat-buildroot/package/lsof/lsof-0003-override-cflags.patch
Gustavo Zacarias b51d78c4d7 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>
2014-06-29 17:36:29 +02:00

14 lines
409 B
Diff

--- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200
+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100
@@ -5206,6 +5206,10 @@
cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF
fi # }
cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC
+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # {
+then
+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC
+fi # }
if test "X$LSOF_LIB_NO" = "X" # {
then