public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
Date: Sun, 21 Feb 2016 14:19:32 +0000 (UTC)	[thread overview]
Message-ID: <1456064329.c8905a00654e1e7c9f0a109875519a753696cec8.chewi@gentoo> (raw)

commit:     c8905a00654e1e7c9f0a109875519a753696cec8
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 14:18:27 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 14:18:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8905a00

net-misc/r8168: Linux 4.5 fix and EAPI bump

Package-Manager: portage-2.2.27

 .../{r8168-8.041.00.ebuild => r8168-8.041.00-r1.ebuild}  | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/net-misc/r8168/r8168-8.041.00.ebuild b/net-misc/r8168/r8168-8.041.00-r1.ebuild
similarity index 75%
rename from net-misc/r8168/r8168-8.041.00.ebuild
rename to net-misc/r8168/r8168-8.041.00-r1.ebuild
index 382e7b0..b32b2e2 100644
--- a/net-misc/r8168/r8168-8.041.00.ebuild
+++ b/net-misc/r8168/r8168-8.041.00-r1.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit linux-mod eutils
+inherit linux-info linux-mod eutils
 
 DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs"
 HOMEPAGE="http://www.realtek.com.tw"
 SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0003-${P}.tar.bz2 -> ${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
-IUSE=""
-
 KEYWORDS="~amd64 ~x86"
 
 MODULE_NAMES="r8168(net:${S}/src)"
@@ -26,6 +24,14 @@ pkg_setup() {
 	BUILD_PARAMS="KERNELDIR=${KV_DIR}"
 }
 
+src_prepare() {
+	default
+
+	if kernel_is -ge 4 5; then
+		sed -i 's/NETIF_F_ALL_CSUM/NETIF_F_CSUM_MASK/g' src/r8168_n.c || die
+	fi
+}
+
 src_install() {
 	linux-mod_src_install
 	dodoc README


             reply	other threads:[~2016-02-21 14:19 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-21 14:19 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 16:32 [gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/ Pacho Ramos
2024-07-05 18:28 Pacho Ramos
2024-06-16  9:38 Pacho Ramos
2024-05-04 17:39 Pacho Ramos
2024-05-04 17:39 Pacho Ramos
2024-02-08  2:09 Ionen Wolkens
2024-01-22  6:59 Viorel Munteanu
2023-10-01 19:59 Arthur Zamarin
2023-10-01 19:55 Arthur Zamarin
2023-10-01 17:43 Pacho Ramos
2023-08-23 13:18 Pacho Ramos
2023-01-23 18:08 Sam James
2023-01-23 18:08 Sam James
2022-12-04 14:50 Pacho Ramos
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-07-20 12:42 Pacho Ramos
2022-07-20 12:42 Pacho Ramos
2022-05-04 16:12 Pacho Ramos
2022-03-27  9:32 Pacho Ramos
2021-11-11 18:57 Jakov Smolić
2021-11-11 17:57 Jakov Smolić
2021-07-21 21:51 Pacho Ramos
2021-07-21 21:51 Pacho Ramos
2021-07-04 19:00 Pacho Ramos
2020-11-29 11:45 Pacho Ramos
2020-08-08 13:21 Pacho Ramos
2020-08-08 12:18 Mikle Kolyada
2020-05-31 12:42 Pacho Ramos
2020-05-25  3:24 Richard Yao
2020-03-31 12:26 Agostino Sarubbo
2020-03-11 21:33 Pacho Ramos
2020-02-09  8:42 Mikle Kolyada
2020-01-19 19:30 Pacho Ramos
2020-01-19 19:30 Pacho Ramos
2020-01-19 19:30 Pacho Ramos
2019-12-27 15:24 James Le Cuirot
2019-11-17 21:38 James Le Cuirot
2019-11-17 21:38 James Le Cuirot
2019-09-06 22:28 James Le Cuirot
2019-09-06 22:28 James Le Cuirot
2019-06-27 21:12 James Le Cuirot
2019-06-27 21:12 James Le Cuirot
2019-05-09 20:12 James Le Cuirot
2018-04-26 21:04 Mikle Kolyada
2018-04-26 19:22 Thomas Deutschmann
2017-05-16  8:32 James Le Cuirot
2017-05-15 14:17 Agostino Sarubbo
2017-03-27 22:00 James Le Cuirot
2017-03-27 22:00 James Le Cuirot
2016-12-21 10:34 James Le Cuirot
2016-12-21 10:25 Thomas Deutschmann
2016-12-21  9:57 Tobias Klausmann
2016-10-24 21:21 James Le Cuirot
2016-07-01 21:33 James Le Cuirot
2016-07-01 21:33 James Le Cuirot
2015-12-25 21:52 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456064329.c8905a00654e1e7c9f0a109875519a753696cec8.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox