public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] zd1211 patch?
@ 2007-05-08 15:56 Arnau Bria
  2007-05-08 15:47 ` Daniel Pielmeier
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-08 15:56 UTC (permalink / raw
  To: gentoo-user

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
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-05-10 15:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 15:56 [gentoo-user] zd1211 patch? Arnau Bria
2007-05-08 15:47 ` Daniel Pielmeier
     [not found] ` <200705081722.32303.alan@linuxholdings.co.za>
2007-05-08 16:43   ` Arnau Bria
2007-05-08 15:56     ` Alan McKinnon
2007-05-09  8:26       ` Arnau Bria
2007-05-08 23:05     ` Daniel Barkalow
2007-05-09 20:24 ` [gentoo-user] " Stefan Schweizer
2007-05-10 12:54   ` Arnau Bria
2007-05-10 12:03     ` Alan McKinnon
2007-05-10 13:16       ` Arnau Bria
2007-05-10 12:42         ` Alan McKinnon
2007-05-10 14:48         ` [gentoo-user] " Stefan Schweizer
2007-05-10 16:13           ` Arnau Bria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox