]> git.pld-linux.org Git - packages/ipset.git/commitdiff
- patch for ipset Makefile not to use kernel headers (from /usr/src)
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 9 Nov 2005 12:40:21 +0000 (12:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ipset-no_kernel_headers.patch -> 1.1

ipset-no_kernel_headers.patch [new file with mode: 0644]

diff --git a/ipset-no_kernel_headers.patch b/ipset-no_kernel_headers.patch
new file mode 100644 (file)
index 0000000..a05a6ef
--- /dev/null
@@ -0,0 +1,23 @@
+diff -dur -x '*~' ipset-2.2.6.orig/Makefile ipset-2.2.6/Makefile
+--- ipset-2.2.6.orig/Makefile  2005-10-28 21:07:19.000000000 +0200
++++ ipset-2.2.6/Makefile       2005-11-09 13:38:33.000000000 +0100
+@@ -4,10 +4,6 @@
+ # YOU SHOULD NOT NEED TO TOUCH ANYTHING BELOW THIS LINE
+ ######################################################################
+-ifndef KERNEL_DIR
+-KERNEL_DIR=/usr/src/linux
+-endif
+-
+ IPSET_VERSION:=2.2.6
+ PREFIX:=/usr/local
+@@ -21,7 +17,7 @@
+ RELEASE_DIR:=/tmp
+ COPT_FLAGS:=-O2
+-CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -I. # -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG
++CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I. # -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG
+ SH_CFLAGS:=$(CFLAGS) -fPIC
+ SETTYPES:=ipmap portmap macipmap iphash nethash iptree ipporthash
This page took 0.047266 seconds and 4 git commands to generate.