[arch-commits] Commit in r8168/trunk (PKGBUILD linux40.patch)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue May 26 14:18:55 UTC 2015


    Date: Tuesday, May 26, 2015 @ 16:18:55
  Author: mtorromeo
Revision: 134176

upgpkg: r8168 8.040.00-1

Updated to 8.040.00

Modified:
  r8168/trunk/PKGBUILD
Deleted:
  r8168/trunk/linux40.patch

---------------+
 PKGBUILD      |   15 ++++-----------
 linux40.patch |   14 --------------
 2 files changed, 4 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-26 13:59:55 UTC (rev 134175)
+++ PKGBUILD	2015-05-26 14:18:55 UTC (rev 134176)
@@ -4,8 +4,8 @@
 # Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
 
 pkgname=r8168
-pkgver=8.039.00
-pkgrel=16
+pkgver=8.040.00
+pkgrel=1
 pkgdesc="A kernel module for Realtek 8168 network cards"
 url="http://www.realtek.com.tw"
 license=("GPL")
@@ -13,16 +13,9 @@
 depends=('glibc' 'linux')
 makedepends=('linux-headers')
 install=$pkgname.install
-source=(https://r8168dl.appspot.com/files/$pkgname-$pkgver.tar.bz2
-        linux40.patch)
-sha256sums=('767d922270274e781d8d42493a0021db1cafcb0388ac62564d0c0c3d82703edd'
-            'e6087439b30c8f6c26113c182dd1f95044d918241b1c281b6e84b9a334e68910')
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('1f7aad3a066c152837e03e558ba720742e792d281c96c5412cff32d68875415b')
 
-prepare() {
-	cd "$pkgname-$pkgver"
-	patch -p1 -i "$srcdir"/linux40.patch
-}
-
 build() {
 	_kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#')
 	KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version)

Deleted: linux40.patch
===================================================================
--- linux40.patch	2015-05-26 13:59:55 UTC (rev 134175)
+++ linux40.patch	2015-05-26 14:18:55 UTC (rev 134176)
@@ -1,14 +0,0 @@
-diff --git a/src/r8168_n.c b/src/r8168_n.c
-index 9d6f231..c4200d0 100755
---- a/src/r8168_n.c
-+++ b/src/r8168_n.c
-@@ -3291,6 +3291,9 @@ rtl8168_tx_vlan_tag(struct rtl8168_private *tp,
- #if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
-         tag = (tp->vlgrp && vlan_tx_tag_present(skb)) ?
-               TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0)
-+        tag = (skb_vlan_tag_present(skb)) ?
-+              TxVlanTag | swab16(skb_vlan_tag_get(skb)) : 0x00;
- #else
-         tag = (vlan_tx_tag_present(skb)) ?
-               TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;



More information about the arch-commits mailing list