summaryrefslogtreecommitdiff
path: root/package/lsof/lsof-4.84-override-cflags.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-12-12 22:53:53 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-14 00:28:25 +0100
commit8db52c6e78c040d035522ca747acc7752d474cf2 (patch)
tree14ef2af5da0e571057e3deb95bf9ca4df091c06a /package/lsof/lsof-4.84-override-cflags.patch
parentfb7226ca2f185577f656b422f9e6a73304de71e9 (diff)
lsof: convert to gentargets and bump to 4.84
lsof is packaged as a tarball inside a .tar.bz2 package, so we have a post-extract hook to extract the source code tarball, so that for the next steps, lsof looks like a normal package. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lsof/lsof-4.84-override-cflags.patch')
-rw-r--r--package/lsof/lsof-4.84-override-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/lsof/lsof-4.84-override-cflags.patch b/package/lsof/lsof-4.84-override-cflags.patch
new file mode 100644
index 000000000..135e599ac
--- /dev/null
+++ b/package/lsof/lsof-4.84-override-cflags.patch
@@ -0,0 +1,13 @@
+--- 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
+