SOURCES: ipset-no_kernel_headers.patch (NEW) - patch for ipset Mak...
jajcus
jajcus at pld-linux.org
Wed Nov 9 13:40:26 CET 2005
Author: jajcus Date: Wed Nov 9 12:40:26 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch for ipset Makefile not to use kernel headers (from /usr/src)
---- Files affected:
SOURCES:
ipset-no_kernel_headers.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ipset-no_kernel_headers.patch
diff -u /dev/null SOURCES/ipset-no_kernel_headers.patch:1.1
--- /dev/null Wed Nov 9 13:40:26 2005
+++ SOURCES/ipset-no_kernel_headers.patch Wed Nov 9 13:40:21 2005
@@ -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
+
================================================================
More information about the pld-cvs-commit
mailing list