chewi 15/04/16 22:48:37 Modified: r8168-8.039.00.ebuild ChangeLog Log: Fix building against Linux 4. Not sure if he wrote it but thanks to Massimiliano Torromeo at Arch for the patch. Closes bug #546564. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
Revision Changes Path 1.2 net-misc/r8168/r8168-8.039.00.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild?r1=1.1&r2=1.2 Index: r8168-8.039.00.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- r8168-8.039.00.ebuild 24 Mar 2015 22:44:54 -0000 1.1 +++ r8168-8.039.00.ebuild 16 Apr 2015 22:48:37 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild,v 1.1 2015/03/24 22:44:54 chewi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/r8168/r8168-8.039.00.ebuild,v 1.2 2015/04/16 22:48:37 chewi Exp $ EAPI=5 @@ -21,6 +21,10 @@ ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" +src_prepare() { + epatch "${FILESDIR}/${P}-linux-4-compat.patch" +} + pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}" 1.18 net-misc/r8168/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/ChangeLog?rev=1.18&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/ChangeLog?rev=1.18&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/ChangeLog?r1=1.17&r2=1.18 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/r8168/ChangeLog,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- ChangeLog 24 Mar 2015 22:44:54 -0000 1.17 +++ ChangeLog 16 Apr 2015 22:48:37 -0000 1.18 @@ -1,6 +1,11 @@ # ChangeLog for net-misc/r8168 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/r8168/ChangeLog,v 1.17 2015/03/24 22:44:54 chewi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/r8168/ChangeLog,v 1.18 2015/04/16 22:48:37 chewi Exp $ + + 16 Apr 2015; James Le Cuirot <[email protected]> + +files/r8168-8.039.00-linux-4-compat.patch, r8168-8.039.00.ebuild: + Fix building against Linux 4. Not sure if he wrote it but thanks to + Massimiliano Torromeo at Arch for the patch. Closes bug #546564. *r8168-8.039.00 (24 Mar 2015)
