mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 02:38:59 +02:00
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
This commit is contained in:
parent
ba4d8ece09
commit
363b70c6be
14
package/ppp/patches/300-filter-pcap-includes-lib.patch
Normal file
14
package/ppp/patches/300-filter-pcap-includes-lib.patch
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user