summaryrefslogtreecommitdiff
path: root/package/lsof/patches/patch-Configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-28 17:07:59 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-28 17:07:59 (GMT)
commitb8ddb947ffe969181957745cfbcd7dfa85e3d86b (patch)
tree5c7e74b9f16309fd87d41110c65825299d12eb8b /package/lsof/patches/patch-Configure
parent1b8fff1f57e80538623d46bba5ea2577b9c0f406 (diff)
add lsof package
Diffstat (limited to 'package/lsof/patches/patch-Configure')
-rw-r--r--package/lsof/patches/patch-Configure30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/lsof/patches/patch-Configure b/package/lsof/patches/patch-Configure
new file mode 100644
index 0000000..a539da5
--- /dev/null
+++ b/package/lsof/patches/patch-Configure
@@ -0,0 +1,30 @@
+--- lsof_4.83_src.orig/Configure 2010-01-18 20:01:14.000000000 +0100
++++ lsof_4.83_src/Configure 2010-07-28 18:36:48.364508572 +0200
+@@ -2735,27 +2735,6 @@ return(0); }
+ then
+ LSOF_CFGF="$LSOF_CFGF -DHASIPv6"
+ fi # }
+-
+- # Test for SELinux support.
+-
+- LSOF_TMP1=0
+- if test "X$LINUX_HASSELINUX" = "X" # {
+- then
+- if test -r ${LSOF_INCLUDE}/selinux/selinux.h # {
+- then
+- LSOF_TMP1=1
+- fi # }
+- else
+- if test "X$LINUX_HASSELINUX" = "XY" -o "X$LINUX_HASSELINUX" = "Xy" # {
+- then
+- LSOF_TMP1=1
+- fi # }
+- fi # }
+- if test $LSOF_TMP1 -eq 1 # {
+- then
+- LSOF_CFGF="$LSOF_CFGF -DHASSELINUX"
+- LSOF_CFGL="$LSOF_CFGL -lselinux"
+- fi # }
+ LSOF_DIALECT_DIR="linux"
+ LSOF_CFGF="$LSOF_CFGF -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+ ;;