summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-05-13 20:38:18 +0100
committerJames Le Cuirot <chewi@gentoo.org>2017-05-13 20:39:49 +0100
commit2a44760d0dc295cd1f9c3a85a487833034f5e95a (patch)
tree4a410b5a5839d46246eb82b62433a50e24072651 /net-misc/r8168/r8168-8.044.02.ebuild
parentsys-apps/hwloc: Port to EAPI 6 (diff)
downloadgentoo-2a44760d0dc295cd1f9c3a85a487833034f5e95a.tar.gz
gentoo-2a44760d0dc295cd1f9c3a85a487833034f5e95a.tar.bz2
gentoo-2a44760d0dc295cd1f9c3a85a487833034f5e95a.zip
net-misc/r8168: Fix 8.044.02 against Linux 4.11, bug #618340
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-misc/r8168/r8168-8.044.02.ebuild')
-rw-r--r--net-misc/r8168/r8168-8.044.02.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/r8168/r8168-8.044.02.ebuild b/net-misc/r8168/r8168-8.044.02.ebuild
index c9db5561b3a..8c730a06229 100644
--- a/net-misc/r8168/r8168-8.044.02.ebuild
+++ b/net-misc/r8168/r8168-8.044.02.ebuild
@@ -14,10 +14,14 @@ KEYWORDS="~amd64 ~x86"
MODULE_NAMES="r8168(net:${S}/src)"
BUILD_TARGETS="modules"
-CONFIG_CHECK="!R8169"
+CONFIG_CHECK="!R8169"
ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED"
+PATCHES=(
+ "${FILESDIR}"/${P}-linux-4.11.patch
+)
+
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERNELDIR=${KV_DIR}"