summaryrefslogtreecommitdiff
path: root/openwrt/package/ppp
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
commit2f9ff49f50f4eac51fa0b9a117f6470615002c70 (patch)
tree1f59f6b188097a004f3bae0529d37c3798401186 /openwrt/package/ppp
parent07431e5f0a8657f4a971ba8a8d8b2cebc88c8ad0 (diff)
downloadmtk-20170518-2f9ff49f50f4eac51fa0b9a117f6470615002c70.zip
mtk-20170518-2f9ff49f50f4eac51fa0b9a117f6470615002c70.tar.gz
mtk-20170518-2f9ff49f50f4eac51fa0b9a117f6470615002c70.tar.bz2
Added needed patch for ppp to compile with filter enable
SVN-Revision: 3148
Diffstat (limited to 'openwrt/package/ppp')
-rw-r--r--openwrt/package/ppp/patches/300-filter-pcap-includes-lib.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/ppp/patches/300-filter-pcap-includes-lib.patch b/openwrt/package/ppp/patches/300-filter-pcap-includes-lib.patch
new file mode 100644
index 0000000..3f6247d
--- /dev/null
+++ b/openwrt/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
+