From 76919331422f1fea9773185919356cee6e082447 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 5 Feb 2006 20:19:24 +0000 Subject: Added needed patch for ppp to compile with filter enable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3148 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../package/ppp/patches/300-filter-pcap-includes-lib.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 openwrt/package/ppp/patches/300-filter-pcap-includes-lib.patch (limited to 'openwrt/package/ppp') 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 000000000..3f6247d6e --- /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 + -- cgit v1.2.3