From 6c63831d750bb7fe8d0c03f691589c0abc1f2981 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 4 Aug 2018 23:21:42 -0500 Subject: rp-pppoe 3.12-3.parabola1: rebuild --- libre/rp-pppoe/rp-pppoe-linux-headers.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libre/rp-pppoe/rp-pppoe-linux-headers.patch (limited to 'libre/rp-pppoe/rp-pppoe-linux-headers.patch') diff --git a/libre/rp-pppoe/rp-pppoe-linux-headers.patch b/libre/rp-pppoe/rp-pppoe-linux-headers.patch new file mode 100644 index 000000000..961eba396 --- /dev/null +++ b/libre/rp-pppoe/rp-pppoe-linux-headers.patch @@ -0,0 +1,28 @@ +the linux headers have started adding shims to not define types or structs +when C lib headers are active, but in order to work, the C lib headers have +to be included before the linux headers. + +move the netinet/in.h include up above the linux/ includes. + +Mike Frysinger + +--- a/src/pppoe.h ++++ b/src/pppoe.h +@@ -47,6 +47,8 @@ + #include + #endif + ++#include ++ + /* Ugly header files on some Linux boxes... */ + #if defined(HAVE_LINUX_IF_H) + #include +@@ -84,8 +86,6 @@ typedef unsigned long UINT32_t; + #include + #endif + +-#include +- + #ifdef HAVE_NETINET_IF_ETHER_H + #include + -- cgit v1.2.3