1 |
Hi again, |
2 |
|
3 |
I'm trying to compile zd1211 driver, and get some error. LOOKING INTO |
4 |
BUGs, I found a patch (or something similar) but I don't understand |
5 |
what I have to do: |
6 |
Here's the bug: |
7 |
https://bugs.gentoo.org/show_bug.cgi?id=159552 |
8 |
|
9 |
This is the patch: |
10 |
net_dev.patch |
11 |
diff -Naur /root/tmp-old/Makefile /root/tmp-new/Makefile |
12 |
--- /root/tmp-old/Makefile 2007-01-28 06:41:03.000000000 +0000 |
13 |
+++ /root/tmp-new/Makefile 2007-01-28 06:39:54.000000000 +0000 |
14 |
@@ -55,7 +55,7 @@ |
15 |
|
16 |
EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe |
17 |
#EXTRA_CFLAGS += -Wa,-a,-ad -g |
18 |
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1 |
19 |
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0 |
20 |
EXTRA_CFLAGS += -DHOST_IF_USB |
21 |
EXTRA_CFLAGS += -DAMAC |
22 |
EXTRA_CFLAGS += -DGCCK |
23 |
|
24 |
and here "Patch for the zd1211-83.ebuild to use net_dev.patch": |
25 |
--- /usr/portage/net-wireless/zd1211/zd1211-83.ebuild 2006-09-13 16:48:48.000000000 +0000 |
26 |
+++ /usr/local/portage/net-wireless/zd1211/zd1211-83-r1.ebuild 2007-01-28 06:53:31.000000000 +0000 |
27 |
@@ -37,6 +37,8 @@ |
28 |
mkdir rel_a rel_b |
29 |
echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile |
30 |
echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile |
31 |
+ |
32 |
+ epatch ${FILESDIR}/net_dev.patch |
33 |
} |
34 |
|
35 |
src_compile() { |
36 |
|
37 |
|
38 |
For what I understand, I must modify zd1211-83.ebuild, and rebuild the |
39 |
ebuild with: |
40 |
ebuild zd1211-83.ebuild digest (which worked fine) |
41 |
|
42 |
but, what should be the content of /tmp/net_dev.patch?¿? |
43 |
Cause I get: |
44 |
|
45 |
* Checking for suitable kernel configuration options... [ ok ] |
46 |
>>> Unpacking source... |
47 |
>>> Unpacking zd1211-driver-r83.tgz to /var/tmp/portage/net-wireless/zd1211-83/work |
48 |
* Applying net_dev.patch ... |
49 |
|
50 |
* Failed Patch: net_dev.patch ! |
51 |
* ( /tmp/net_dev.patch ) |
52 |
|
53 |
Thanks in advance, |
54 |
Arnau |
55 |
-- |
56 |
gentoo-user@g.o mailing list |