Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] zd1211 patch?
Date: Tue, 08 May 2007 16:01:14
Message-Id: 200705081756.36780.alan@linuxholdings.co.za
In Reply to: Re: [gentoo-user] zd1211 patch? by Arnau Bria
1 On Tuesday 08 May 2007, Arnau Bria wrote:
2 > Ok, but, what is the content of net_dev.patch?
3
4 It's right there in your original mail:
5
6 diff -Naur /root/tmp-old/Makefile /root/tmp-new/Makefile
7 --- /root/tmp-old/Makefile 2007-01-28 06:41:03.000000000 +0000
8 +++ /root/tmp-new/Makefile 2007-01-28 06:39:54.000000000 +0000
9 @@ -55,7 +55,7 @@
10
11 EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
12 #EXTRA_CFLAGS += -Wa,-a,-ad -g
13 -EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
14 +EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
15 EXTRA_CFLAGS += -DHOST_IF_USB
16 EXTRA_CFLAGS += -DAMAC
17 EXTRA_CFLAGS += -DGCCK
18
19 That IS what the patch file looks like. It will alter your Makefile, and
20 the epatch function in portage is smart enough to try apply the patch
21 to the following files in order:
22
23 /root/tmp-new/Makefile
24 tmp-new/Makefile
25 Makefile
26
27 If that doesn't work, the patch itself is faulty
28
29 for more info "man patch"
30
31 alan
32
33 --
34 Optimists say the glass is half full,
35 Pessimists say the glass is half empty,
36 Developers say wtf is the glass twice as big as it needs to be?
37
38 Alan McKinnon
39 alan at linuxholdings dot co dot za
40 +27 82, double three seven, one nine three five
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] zd1211 patch? Arnau Bria <arnau@×××××××××.net>