Hi again,

I'm trying to compile zd1211 driver, and get some error. LOOKING INTO
BUGs, I found a patch (or something similar) but I don't understand
what I have to do:
Here's the bug:
https://bugs.gentoo.org/show_bug.cgi?id=159552

This is the patch:
net_dev.patch
diff -Naur /root/tmp-old/Makefile /root/tmp-new/Makefile
--- /root/tmp-old/Makefile      2007-01-28 06:41:03.000000000 +0000
+++ /root/tmp-new/Makefile      2007-01-28 06:39:54.000000000 +0000
@@ -55,7 +55,7 @@
 
 EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe 
 #EXTRA_CFLAGS += -Wa,-a,-ad -g
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
 EXTRA_CFLAGS += -DHOST_IF_USB
 EXTRA_CFLAGS += -DAMAC
 EXTRA_CFLAGS += -DGCCK

and here "Patch for the zd1211-83.ebuild to use net_dev.patch":
--- /usr/portage/net-wireless/zd1211/zd1211-83.ebuild   2006-09-13 
16:48:48.000000000 +0000
+++ /usr/local/portage/net-wireless/zd1211/zd1211-83-r1.ebuild  2007-01-28 
06:53:31.000000000 +0000
@@ -37,6 +37,8 @@
        mkdir rel_a rel_b
        echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile
        echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile
+
+       epatch ${FILESDIR}/net_dev.patch
 }
 
 src_compile() {


For what I understand, I must modify zd1211-83.ebuild, and rebuild the
ebuild with:
ebuild zd1211-83.ebuild digest (which worked fine)

but, what should be the content of /tmp/net_dev.patch?¿?
Cause I get:

* Checking for suitable kernel configuration options...                         
                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking zd1211-driver-r83.tgz to 
>>> /var/tmp/portage/net-wireless/zd1211-83/work
 * Applying net_dev.patch ...

 * Failed Patch: net_dev.patch !
 *  ( /tmp/net_dev.patch )

Thanks in advance,
Arnau
--
[EMAIL PROTECTED] mailing list

Reply via email to