[arch-commits] Commit in r8168/trunk (PKGBUILD linux-4.5.patch)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Feb 14 09:10:47 UTC 2017
Date: Tuesday, February 14, 2017 @ 09:10:47
Author: mtorromeo
Revision: 212322
upgpkg: r8168 8.044.02-1
Modified:
r8168/trunk/PKGBUILD
Deleted:
r8168/trunk/linux-4.5.patch
-----------------+
PKGBUILD | 15 ++++-----------
linux-4.5.patch | 13 -------------
2 files changed, 4 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-14 08:49:20 UTC (rev 212321)
+++ PKGBUILD 2017-02-14 09:10:47 UTC (rev 212322)
@@ -4,8 +4,8 @@
# Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
pkgname=r8168
-pkgver=8.043.02
-pkgrel=4
+pkgver=8.044.02
+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://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz
- linux-4.5.patch)
-sha256sums=('ea22aa1dfda20615f5e114f982f7e61385f871f682eea0c154245760a439abc4'
- 'e05a4bccf28beecc97db246064a5fe80d1303476b76086bd262c9c8db82b2e6e')
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('aad7bccc4f625c35abe0455b2a6271e9938b76b46e11b24b4f138eb5c95db6d3')
-prepare() {
- cd "$pkgname-$pkgver"
- patch -p1 -i ../linux-4.5.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: linux-4.5.patch
===================================================================
--- linux-4.5.patch 2017-02-14 08:49:20 UTC (rev 212321)
+++ linux-4.5.patch 2017-02-14 09:10:47 UTC (rev 212322)
@@ -1,13 +0,0 @@
-diff --git a/src/r8168_n.c b/src/r8168_n.c
-index d197630..b47419d 100755
---- a/src/r8168_n.c
-+++ b/src/r8168_n.c
-@@ -4209,7 +4209,7 @@ static netdev_features_t rtl8168_fix_features(struct net_device *dev,
- spin_lock_irqsave(&tp->lock, flags);
- if (dev->mtu > ETH_DATA_LEN) {
- features &= ~NETIF_F_ALL_TSO;
-- features &= ~NETIF_F_ALL_CSUM;
-+ features &= ~NETIF_F_CSUM_MASK;
- }
- spin_unlock_irqrestore(&tp->lock, flags);
-
More information about the arch-commits
mailing list