[arch-commits] Commit in rp-pppoe/trunk (PKGBUILD kmode.patch)

Tobias Powalowski tpowa at nymeria.archlinux.org
Tue Feb 26 16:32:57 UTC 2013


    Date: Tuesday, February 26, 2013 @ 17:32:57
  Author: tpowa
Revision: 178747

upgpkg: rp-pppoe 3.11-2

fix #33824 kmode

Added:
  rp-pppoe/trunk/kmode.patch
Modified:
  rp-pppoe/trunk/PKGBUILD

-------------+
 PKGBUILD    |    8 +++++---
 kmode.patch |   19 +++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-26 16:27:02 UTC (rev 178746)
+++ PKGBUILD	2013-02-26 16:32:57 UTC (rev 178747)
@@ -4,7 +4,7 @@
 
 pkgname=rp-pppoe
 pkgver=3.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client"
 arch=('i686' 'x86_64')
 url="http://www.roaringpenguin.com/pppoe/"
@@ -15,14 +15,16 @@
 options=('!makeflags')
 install=rp-pppoe.install
 source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz{,.sig} 
-        adsl adsl.service)
+        adsl adsl.service kmode.patch)
 md5sums=('13b5900c56bd602df6cc526e5e520722'
          '8fc724aa146dba52ef7b3fbe5b8784c6'
          'adace1ad441aa88dcb3db52fb7f9c97f'
-         'af234125f956f3a356ab0d0fcaa9e8a2')
+         'af234125f956f3a356ab0d0fcaa9e8a2'
+         'd38a903a247d689ff0323d7b6caa1c6b')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver/src"
+  patch -Np2 -i ../../kmode.patch
   ./configure --prefix=/usr --enable-plugin
   make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so
 }

Added: kmode.patch
===================================================================
--- kmode.patch	                        (rev 0)
+++ kmode.patch	2013-02-26 16:32:57 UTC (rev 178747)
@@ -0,0 +1,19 @@
+diff -up rp-pppoe-3.11/src/configure.orig rp-pppoe-3.11/src/configure
+--- rp-pppoe-3.11/src/configure.orig	2012-08-17 12:31:25.000000000 -0600
++++ rp-pppoe-3.11/src/configure	2013-02-11 14:23:05.000000000 -0700
+@@ -3679,6 +3679,7 @@ do :
+ #include<net/ethernet.h>
+ #include<linux/if.h>
+ #include<linux/in.h>
++#include<linux/in6.h>
+ 
+ "
+ if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
+@@ -4525,6 +4526,7 @@ else
+ #include <net/ethernet.h>
+ #include <linux/if.h>
+ #include <linux/in.h>
++#include <linux/in6.h>
+ #include <linux/if_pppox.h>
+ int main()
+ {




More information about the arch-commits mailing list