Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] zd1211 patch?
Date: Tue, 08 May 2007 15:50:40
Message-Id: 20070508184328.6f46ff9d@pataki.bogus.net
1 On Tue, 8 May 2007 17:22:32 +0200
2 Alan McKinnon wrote:
3
4 Hi!
5
6 > On Tuesday 08 May 2007, Arnau Bria wrote:
7 > > For what I understand, I must modify zd1211-83.ebuild, and rebuild
8 > > the ebuild with:
9 > > ebuild zd1211-83.ebuild digest (which worked fine)
10 > >
11 > > but, what should be the content of /tmp/net_dev.patch?¿?
12 >
13 > You list two patches.
14 >
15 > The one for the ebuild you should apply to the ebuild manually
16 > using 'patch', but you seem to have successfully done that already.
17 Yep,
18
19 > Then copy the first patch (net_dev.patch)
20 Ok, but, what is the content of net_dev.patch? if I put:
21 # cat files/net_dev.patch
22 EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
23 #EXTRA_CFLAGS += -Wa,-a,-ad -g
24 -EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
25 +EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
26 EXTRA_CFLAGS += -DHOST_IF_USB
27 EXTRA_CFLAGS += -DAMAC
28 EXTRA_CFLAGS += -DGCCK
29
30 or just
31 -EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
32 +EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
33 I get errorrs:
34
35 * Failed Patch: net_dev.patch !
36 * ( /usr/portage/net-wireless/zd1211/files/net_dev.patch )
37 *
38 * Include in your bugreport the contents of:
39 *
40 * /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out
41
42 # cat /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out
43 ***** net_dev.patch *****
44
45 =========================
46
47 PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-wireless/zd1211/files/net_dev.patch
48
49 =========================
50 patch: **** Only garbage was found in the patch input.
51 =========================
52
53 > The ebuild will apply the patch itself, because of this line in the
54 > new ebuild:
55 >
56 > + epatch ${FILESDIR}/net_dev.patch
57 >
58 > alan
59 TIA!
60 --
61 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] zd1211 patch? Alan McKinnon <alan@××××××××××××××××.za>
Re: [gentoo-user] zd1211 patch? Daniel Barkalow <barkalow@××××××××.org>