From af4a60eb4cda1561b8e3dd4c10ab3915607115b6 Mon Sep 17 00:00:00 2001 From: Eike Ritter Date: Sun, 14 Mar 2021 18:50:21 +0000 Subject: [PATCH] ppp: compile fix: unset FILTER variable in Makefile If the environment variable FILTER is set before compilation, compilation of the ppp-package will fail with the error message Package ppp is missing dependencies for the following libraries: libpcap.so.1 The reason is that the OpenWrt-patch for the Makefile only comments out the line FILTER=y. Hence the pcap-library will be dynamically linked if the environment variable FILTER is set elsewhere, which causes compilation to fail. The fix consists on explicitly unsetting the variable FILTER instead. Signed-off-by: Eike Ritter --- package/network/services/ppp/patches/610-pppd_compile_fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/ppp/patches/610-pppd_compile_fix.patch b/package/network/services/ppp/patches/610-pppd_compile_fix.patch index 474f11832a..4f66e5d71f 100644 --- a/package/network/services/ppp/patches/610-pppd_compile_fix.patch +++ b/package/network/services/ppp/patches/610-pppd_compile_fix.patch @@ -1,6 +1,6 @@ --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux -@@ -48,7 +48,8 @@ MPPE=y +@@ -49,7 +49,8 @@ MPPE=y # Uncomment the next line to include support for PPP packet filtering. # This requires that the libpcap library and headers be installed # and that the kernel driver support PPP packet filtering.