aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/r8168/linux-4.15.patch.gzbin753 -> 0 bytes
-rw-r--r--network/r8168/r8168.SlackBuild24
-rw-r--r--network/r8168/r8168.info6
3 files changed, 13 insertions, 17 deletions
diff --git a/network/r8168/linux-4.15.patch.gz b/network/r8168/linux-4.15.patch.gz
deleted file mode 100644
index 343a559c56a3..000000000000
--- a/network/r8168/linux-4.15.patch.gz
+++ /dev/null
Binary files differ
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index 585eeb33ba95..6a1d8894e920 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=r8168
-VERSION=${VERSION:-8.045.08}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-8.046.00}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,22 +72,18 @@ find -L . \
KERNEL="${KERNEL:-"$(uname -r)"}"
PKGVER="$(printf %s "${VERSION}_$KERNEL" | tr - _)"
-ORIGARCH="$ARCH"
-unset ARCH
-
-# Patch for linux 4.15 kernels, from arch
-zcat $CWD/linux-4.15.patch.gz | patch -p1
-
-make -C /lib/modules/$KERNEL/build \
- SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
- EXTRA_CFLAGS="$SLKCFLAGS" \
- modules
+(
+ unset ARCH
+ cd /lib/modules/$KERNEL/build
+ make \
+ SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
+ EXTRA_CFLAGS="$SLKCFLAGS" \
+ modules
+)
install -Dm0644 src/$PRGNAM.ko \
$PKG/lib/modules/$KERNEL/kernel/drivers/net/ethernet/realtek/$PRGNAM.ko
-ARCH="$ORIGARCH"
-
mkdir -p $PKG/etc/modprobe.d
echo 'blacklist r8169' > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
diff --git a/network/r8168/r8168.info b/network/r8168/r8168.info
index 34c4fd5f49bb..085dd1c5916b 100644
--- a/network/r8168/r8168.info
+++ b/network/r8168/r8168.info
@@ -1,8 +1,8 @@
PRGNAM="r8168"
-VERSION="8.045.08"
+VERSION="8.046.00"
HOMEPAGE="https://github.com/mtorromeo/r8168"
-DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.045.08/r8168-8.045.08.tar.gz"
-MD5SUM="8a586d9948bfd6fbbcc02087b70e0a79"
+DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.046.00/r8168-8.046.00.tar.gz"
+MD5SUM="4f7616004ad95e1529e6b1b55f496409"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""