summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/fcdsl/ChangeLog6
-rw-r--r--net-dialup/fcdsl/fcdsl-2.6.37.ebuild3
-rw-r--r--net-dialup/fcdsl/files/fcdslslusb-2.6.20.diff23
3 files changed, 30 insertions, 2 deletions
diff --git a/net-dialup/fcdsl/ChangeLog b/net-dialup/fcdsl/ChangeLog
index d4854a7382be..c8e1b51c1f4f 100644
--- a/net-dialup/fcdsl/ChangeLog
+++ b/net-dialup/fcdsl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/fcdsl
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.26 2007/02/12 20:04:49 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.27 2007/02/22 12:11:53 genstef Exp $
+
+ 22 Feb 2007; <genstef@gentoo.org> +files/fcdslslusb-2.6.20.diff,
+ fcdsl-2.6.37.ebuild:
+ fcdslslusb patch thanks to Florian Lederer <Florian2780@gmx.de> in bug 165485
12 Feb 2007; <genstef@gentoo.org> +files/fcdsl-2.6.20.diff,
fcdsl-2.6.37.ebuild:
diff --git a/net-dialup/fcdsl/fcdsl-2.6.37.ebuild b/net-dialup/fcdsl/fcdsl-2.6.37.ebuild
index 64748bb13db6..5f841092c8da 100644
--- a/net-dialup/fcdsl/fcdsl-2.6.37.ebuild
+++ b/net-dialup/fcdsl/fcdsl-2.6.37.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.37.ebuild,v 1.4 2007/02/12 20:04:49 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.37.ebuild,v 1.5 2007/02/22 12:11:53 genstef Exp $
inherit linux-mod eutils rpm
@@ -77,6 +77,7 @@ src_unpack() {
# do not fail even if some drivers are not present
einfo "When you have FCDSL_CARDS set some errors are OK here"
patch -p0 -f < ${FILESDIR}/fcdsl-2.6.20.diff
+ patch -p0 -f < ${FILESDIR}/fcdslslusb-2.6.20.diff
if use x86; then
for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do
diff --git a/net-dialup/fcdsl/files/fcdslslusb-2.6.20.diff b/net-dialup/fcdsl/files/fcdslslusb-2.6.20.diff
new file mode 100644
index 000000000000..a8ae5ac3d85c
--- /dev/null
+++ b/net-dialup/fcdsl/files/fcdslslusb-2.6.20.diff
@@ -0,0 +1,23 @@
+--- usr/src/kernel-modules/fcdsl/src/src.fcdslslusb/main.c
++++ usr/src/kernel-modules/fcdsl/src/src.fcdslslusb/main.c
+@@ -92,17 +92,12 @@
+
+ static struct usb_driver usb_driver = {
+
+-#ifndef OLD_USB_DRIVER
+- .driver = {
+-#endif
+- .owner = THIS_MODULE,
+- .name = TARGET,
+-#ifndef OLD_USB_DRIVER
+- },
+-#endif
++ .name = TARGET,
++
+ .id_table = usb_id_table,
+ .probe = usb_probe,
+ .disconnect = usb_disconnect,
++
+ } ;
+
+ MODULE_DEVICE_TABLE (usb, usb_id_table);