Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / r8168


Commits:
1da43a57 by Jan Alexander Steffens (heftig) at 2023-08-11T14:37:17+02:00
8.051.02-62: linux 6.4.10.arch1-1

- - - - -


2 changed files:

- + 0002-Linux-6.4.10.patch
- PKGBUILD


Changes:

=====================================
0002-Linux-6.4.10.patch
=====================================
@@ -0,0 +1,23 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <[email protected]>
+Date: Thu, 10 Aug 2023 22:01:56 +0000
+Subject: [PATCH] Linux 6.4.10
+
+---
+ src/r8168_n.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/r8168_n.c b/src/r8168_n.c
+index 7e9e2eac948c..583ca3cfe1a8 100755
+--- a/src/r8168_n.c
++++ b/src/r8168_n.c
+@@ -56,6 +56,9 @@
+ #include <linux/ipv6.h>
+ #include <net/ip6_checksum.h>
+ #endif
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)
++#include <net/gso.h>
++#endif
+ #include <linux/tcp.h>
+ #include <linux/init.h>
+ #include <linux/rtnetlink.h>


=====================================
PKGBUILD
=====================================
@@ -4,23 +4,28 @@
 
 pkgname=r8168
 pkgver=8.051.02
-pkgrel=61
+pkgrel=62
 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
-        
https://github.com/mtorromeo/r8168/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc
-        0001-Linux-6.1.patch)
+source=(
+       
https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz
+       
https://github.com/mtorromeo/r8168/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc
+       0001-Linux-6.1.patch
+       0002-Linux-6.4.10.patch
+)
 sha256sums=('76f1c6f0b273d6a31bdb3e98c39a54f50a65766b99d485f9b4ddeda30dcd11d8'
             'SKIP'
-            'd178c927b2619b4f5013ab965168b3f9ddc67e7cf4b32a0edca5906739032393')
+            'd178c927b2619b4f5013ab965168b3f9ddc67e7cf4b32a0edca5906739032393'
+            'a84d06758230b796d3a1a7190e0098b7270666ba42a3df3c3fe442dd6f34997e')
 validpgpkeys=('0CADAACF70F64C654E131B3111675C743429DDEF') # Massimiliano 
Torromeo <[email protected]>
 
 prepare() {
        cd "$pkgname-$pkgver"
        patch -Np1 -i ../0001-Linux-6.1.patch
+       patch -Np1 -i ../0002-Linux-6.4.10.patch
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/r8168/-/commit/1da43a577c1df014024309ef31a1a67e60f83c87

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/r8168/-/commit/1da43a577c1df014024309ef31a1a67e60f83c87
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to