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

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Jan 17 08:38:04 UTC 2020


    Date: Friday, January 17, 2020 @ 08:38:03
  Author: mtorromeo
Revision: 552823

upgpkg: r8168 8.048.00-1

Modified:
  r8168/trunk/PKGBUILD
Deleted:
  r8168/trunk/kernel-5.4.patch

------------------+
 PKGBUILD         |   15 ++++-----------
 kernel-5.4.patch |   12 ------------
 2 files changed, 4 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-17 07:31:58 UTC (rev 552822)
+++ PKGBUILD	2020-01-17 08:38:03 UTC (rev 552823)
@@ -3,23 +3,16 @@
 # Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
 
 pkgname=r8168
-pkgver=8.047.05
-pkgrel=15
+pkgver=8.048.00
+pkgrel=1
 pkgdesc="A kernel module for Realtek 8168 network cards"
 url="http://www.realtek.com.tw"
 license=("GPL")
 arch=('x86_64')
 makedepends=('linux-headers')
-source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz
-		kernel-5.4.patch)
-sha256sums=('1344bf3d8a1d01a1be8805b48940be1b946b5e694ca75bd14ed1c76fd4c3d67b'
-            'be79c151c6323bb4d340e31e44fae25a36a93d317812fe5d75c54649ed2508b0')
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('0aacba20d985ba5e67e21bdad89a099e102f7bef3027adb647ffbb80b01ac8d0')
 
-prepare() {
-	cd "$pkgname-$pkgver"
-	patch -Np1 -i ../kernel-5.4.patch
-}
-
 build() {
 	local KERNEL_VERSION=$(</usr/src/linux/version)
 	msg2 "Kernel = $KERNEL_VERSION"

Deleted: kernel-5.4.patch
===================================================================
--- kernel-5.4.patch	2020-01-17 07:31:58 UTC (rev 552822)
+++ kernel-5.4.patch	2020-01-17 08:38:03 UTC (rev 552823)
@@ -1,12 +0,0 @@
-diff -u -r r8168-8.047.05/src/r8168_n.c r8168-8.047.05-5.4/src/r8168_n.c
---- r8168-8.047.05/src/r8168_n.c	2019-11-25 18:01:38.000000000 +0000
-+++ r8168-8.047.05-5.4/src/r8168_n.c	2019-11-25 23:36:15.427988367 +0000
-@@ -56,7 +56,7 @@
- #include <linux/rtnetlink.h>
- #include <linux/completion.h>
- 
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) && LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
- #include <linux/pci-aspm.h>
- #endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,37)



More information about the arch-commits mailing list