summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-09-29 03:06:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-30 07:19:13 +0700
commit89da5b3040af5975d402f26016af5b6c7fbe029f (patch)
treeb57384f6fe002e5bab1f14be94a73b4172d82101
parent32d444a0525ac3e8b104a46e31155e5acf13b43f (diff)
downloadslackbuilds-89da5b3040af5975d402f26016af5b6c7fbe029f.tar.gz
network/r8168: Updated for version 8.045.08.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/r8168/r8168-linux-4.11.patch14
-rw-r--r--network/r8168/r8168.SlackBuild5
-rw-r--r--network/r8168/r8168.info6
3 files changed, 4 insertions, 21 deletions
diff --git a/network/r8168/r8168-linux-4.11.patch b/network/r8168/r8168-linux-4.11.patch
deleted file mode 100644
index 5d8d451cdf..0000000000
--- a/network/r8168/r8168-linux-4.11.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/r8168_n.c b/src/r8168_n.c
-index 3c5a7e7..e2026bb 100755
---- a/src/r8168_n.c
-+++ b/src/r8168_n.c
-@@ -25732,7 +25732,9 @@ process_pkt:
- if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
- rtl8168_rx_skb(tp, skb);
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
- dev->last_rx = jiffies;
-+#endif
- RTLDEV->stats.rx_bytes += pkt_size;
- RTLDEV->stats.rx_packets++;
- }
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index 9569be3190..691afc6c8e 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=r8168
-VERSION=${VERSION:-8.044.02}
+VERSION=${VERSION:-8.045.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,9 +72,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# patch from arch for 4.11 kernels
-cat $CWD/r8168-linux-4.11.patch | patch -p1
-
make -C /lib/modules/$KERNEL/build \
SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
EXTRA_CFLAGS="$SLKCFLAGS" \
diff --git a/network/r8168/r8168.info b/network/r8168/r8168.info
index b4b079171a..b822a6e0af 100644
--- a/network/r8168/r8168.info
+++ b/network/r8168/r8168.info
@@ -1,8 +1,8 @@
PRGNAM="r8168"
-VERSION="8.044.02"
+VERSION="8.045.08"
HOMEPAGE="https://github.com/mtorromeo/r8168"
-DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.044.02/r8168-8.044.02.tar.gz"
-MD5SUM="ff7cb76de167608834f1bde66da882ff"
+DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.045.08/r8168-8.045.08.tar.gz"
+MD5SUM="8a586d9948bfd6fbbcc02087b70e0a79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""