summaryrefslogtreecommitdiff
path: root/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-04 19:17:06 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-04 19:17:06 -0500
commit2abc38f94df137cba6a0f91d06d6be62695092b0 (patch)
tree3d44a91782b38b9ad43ee6d9386be65fc1dd71aa /libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch
parent66f0925fe63652390b30ed0d3eb92c8753ef57ec (diff)
downloadabslibre-2abc38f94df137cba6a0f91d06d6be62695092b0.tar.gz
abslibre-2abc38f94df137cba6a0f91d06d6be62695092b0.tar.bz2
abslibre-2abc38f94df137cba6a0f91d06d6be62695092b0.zip
rp-pppoe-3.12-1.parabola2: rebuild
Diffstat (limited to 'libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch')
-rw-r--r--libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch b/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch
new file mode 100644
index 000000000..376061aee
--- /dev/null
+++ b/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch
@@ -0,0 +1,20 @@
+--- a/src/pppoe.h 2015-11-11 10:10:04.000000000 -0500
++++ b/src/pppoe.h 2018-02-04 19:07:00.581864484 -0500
+@@ -51,6 +51,8 @@
+ #include <sys/socket.h>
+ #endif
+
++#include <netinet/in.h>
++
+ /* Ugly header files on some Linux boxes... */
+ #if defined(HAVE_LINUX_IF_H)
+ #include <linux/if.h>
+@@ -131,8 +133,6 @@
+ #include <linux/if_ether.h>
+ #endif
+
+-#include <netinet/in.h>
+-
+ #ifdef HAVE_NETINET_IF_ETHER_H
+ #include <sys/types.h>
+