diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/rp-pppoe/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch | 20 |
2 files changed, 26 insertions, 2 deletions
diff --git a/libre/rp-pppoe/PKGBUILD b/libre/rp-pppoe/PKGBUILD index a176d8c1c..d7b786050 100644 --- a/libre/rp-pppoe/PKGBUILD +++ b/libre/rp-pppoe/PKGBUILD @@ -1,11 +1,12 @@ # $Id: PKGBUILD 257681 2016-01-09 09:49:01Z arojas $ # Maintainer (Arch): Daniel Isenmann <daniel@archlinux.org> # Contributor (Arch): orelien <aurelien.foret@wanadoo.fr> -# Maintainer: André Silva <emulatorman@hyperbola.info> +# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=rp-pppoe pkgver=3.12 -pkgrel=1.parabola1 +pkgrel=1.parabola2 pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client, without nonfree ServPoET recommendation" arch=('i686' 'x86_64' 'armv7h') url="http://www.roaringpenguin.com/pppoe/" @@ -20,6 +21,7 @@ install=rp-pppoe.install source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig} adsl.service kmode.patch + rp-pppoe-3.12-linux-headers.patch libre.patch) validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0') # Dianne Skoll @@ -32,6 +34,7 @@ prepare() { cd "$srcdir/$pkgname-$pkgver/src" patch -Np2 -i ../../kmode.patch + patch -Np2 -i ../../rp-pppoe-3.12-linux-headers.patch } build() { @@ -51,4 +54,5 @@ md5sums=('216eb52b69062b92a64ee37fd71f4b66' 'SKIP' '926b00aa2a0c0d3a21970acde9695e47' '8df35e67558b6b4567d1ab24c9202898' + 'b9ab60a822b185f4cf8f46e6cc71e3a4' '40586f5bc2729d3a56b2fe1aa6bb683a') 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> + |