Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478650 - net-misc/r8168-8.036.00 version bump for kernel 3.10.x
Summary: net-misc/r8168-8.036.00 version bump for kernel 3.10.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Christian Birchinger (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
: 478652 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-29 12:01 UTC by minaco2
Modified: 2014-03-20 10:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
r8168-8.036.00.ebuild (r8168-8.036.00.ebuild,842 bytes, text/plain)
2013-07-29 12:03 UTC, minaco2
Details
r8168-8.036.00-build-3.10.patch (r8168-8.036.00-build-3.10.patch,2.11 KB, patch)
2013-07-29 12:04 UTC, minaco2
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description minaco2 2013-07-29 12:01:21 UTC
Hi!

Please find attached r8168-8.036.00.ebuild and a patch so that it will 
compile with linux-3.10.x

r8168 is a NIC driver of Realtek. 
In the mother board for AMD, NIC which operates with this driver is adopted in many cases. 


net-misc/r8168/r8186-8.035.00.ebuild is failed to build with linux-3.10.x.
And I found new version for driver in https://code.google.com/p/r8168/


I suggest net-misc/r8168 Also, this ebuild is based on r8168-8.035.00.ebuild.
Comment 1 minaco2 2013-07-29 12:03:33 UTC
Created attachment 354502 [details]
r8168-8.036.00.ebuild
Comment 2 minaco2 2013-07-29 12:04:27 UTC
Created attachment 354504 [details, diff]
r8168-8.036.00-build-3.10.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-29 15:13:19 UTC
Comment on attachment 354502 [details]
r8168-8.036.00.ebuild

--- r8168-8.035.00-r1.ebuild    2013-03-06 22:37:48.000000000 +0100
+++ -   2013-07-29 17:13:13.968208512 +0200
@@ -22,7 +22,7 @@
 ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED"
 
 src_prepare() {
-       epatch "${FILESDIR}/${P}-build-3.8.patch"
+       epatch "${FILESDIR}/${P}-build-3.10.patch"
 }
 
 pkg_setup() {
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-29 15:13:54 UTC
*** Bug 478652 has been marked as a duplicate of this bug. ***
Comment 5 vylaern 2013-08-22 10:53:10 UTC
Hi,

This ebuild (given in topic bellow) works for me and solved the problem:
https://forums.gentoo.org/viewtopic-p-7378886.html#7378886
Comment 6 minaco2 2013-09-14 03:50:27 UTC
ping
Comment 7 Louis-Philippe 2013-09-14 06:02:06 UTC
net-misc/r8168-8.035.00-r1 Still fail with kernel 3.11.0

...
make[1]: Entering directory `/usr/src/linux-3.11.0-gentoo'
  CC [M]  /var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.o
  CC [M]  /var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_asf.o
  CC [M]  /var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/rtl_eeprom.o
  CC [M]  /var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/rtltool.o
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_rx_vlan_skb’:
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2077:3: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
In file included from /var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:47:0:
include/linux/if_vlan.h:236:71: note: declared here
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_set_features’:
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2136:22: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:2136:22: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:15057:20: error: ‘NETIF_F_HW_VLAN_TX’ undeclared (first use in this function)
/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.c:15057:41: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
make[2]: *** [/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src/r8168_n.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-misc/r8168-8.035.00-r1/work/r8168-8.035.00/src] Error 2
make[1]: Leaving directory `/usr/src/linux-3.11.0-gentoo'
make: *** [modules] Error 2
Comment 8 minaco2 2013-09-14 08:50:49 UTC
> net-misc/r8168-8.035.00-r1 Still fail with kernel 3.11.0

If you need r8168-8.035.00 , see #478652.
Comment 9 Louis-Philippe 2013-10-02 01:46:07 UTC
Do you guy's think this patch will get published anytime soon?
Comment 10 Christian Birchinger (RETIRED) gentoo-dev 2014-03-20 10:05:39 UTC
r8168-8.038.00 is in the tree and it builds against kernel 3.13