aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-02-05 20:19:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-02-05 20:19:24 +0000
commit2b3d489f7aeb8e5c6f39db35a057ac1b6efe9277 (patch)
treecdf71be6ad0c03781369ef6bda33783112794959 /package
parent2dab10ef0c42a51b5ff85199ee339766171c590c (diff)
downloadupstream-2b3d489f7aeb8e5c6f39db35a057ac1b6efe9277.tar.gz
upstream-2b3d489f7aeb8e5c6f39db35a057ac1b6efe9277.tar.bz2
upstream-2b3d489f7aeb8e5c6f39db35a057ac1b6efe9277.zip
Added needed patch for ppp to compile with filter enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3148 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/ppp/patches/300-filter-pcap-includes-lib.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ppp/patches/300-filter-pcap-includes-lib.patch b/package/ppp/patches/300-filter-pcap-includes-lib.patch
new file mode 100644
index 0000000000..3f6247d6ef
--- /dev/null
+++ b/package/ppp/patches/300-filter-pcap-includes-lib.patch
@@ -0,0 +1,14 @@
+diff -urN ppp-2.4.3.orig/pppd/Makefile.linux ppp-2.4.3/pppd/Makefile.linux
+--- ppp-2.4.3.orig/pppd/Makefile.linux 2006-02-05 20:13:06.000000000 +0100
++++ ppp-2.4.3/pppd/Makefile.linux 2006-02-05 20:24:22.000000000 +0100
+@@ -172,8 +172,8 @@
+
+ ifdef FILTER
+ ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+-LIBS += -lpcap
+-CFLAGS += -DPPP_FILTER
++LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
++CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
+ endif
+ endif
+