From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HlRxX-0005Qp-Nc for garchives@archives.gentoo.org; Tue, 08 May 2007 15:50:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l48FmJIg019224; Tue, 8 May 2007 15:48:19 GMT Received: from afrodita.emergetux.net (41.Red-80-37-233.staticIP.rima-tde.net [80.37.233.41]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l48FfQTb010875 for ; Tue, 8 May 2007 15:41:27 GMT Received: from pataki.bogus.net (grid-13.tut1.rediris.es [130.206.2.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afrodita.emergetux.net (Postfix) with ESMTP id 855A57C56A for ; Tue, 8 May 2007 17:41:03 +0200 (CEST) Date: Tue, 8 May 2007 18:43:28 +0200 From: Arnau Bria To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] zd1211 patch? Message-ID: <20070508184328.6f46ff9d@pataki.bogus.net> In-Reply-To: <200705081722.32303.alan@linuxholdings.co.za> References: <20070508175631.696fe3fa@pataki.bogus.net> <200705081722.32303.alan@linuxholdings.co.za> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.6; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e8736b27-66d0-4acf-bbee-e0bf784735bc X-Archives-Hash: f2763bf3ac12672fcbd412a7fe10a680 On Tue, 8 May 2007 17:22:32 +0200 Alan McKinnon wrote: Hi! > On Tuesday 08 May 2007, Arnau Bria wrote: > > 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?=C2=BF? >=20 > You list two patches. >=20 > The one for the ebuild you should apply to the ebuild manually=20 > using 'patch', but you seem to have successfully done that already. Yep, =20 > Then copy the first patch (net_dev.patch)=20 Ok, but, what is the content of net_dev.patch? if I put: # cat files/net_dev.patch EXTRA_CFLAGS +=3D -O2 -Wall -Wstrict-prototypes -pipe #EXTRA_CFLAGS +=3D -Wa,-a,-ad -g -EXTRA_CFLAGS +=3D -DZDCONF_WE_STAT_SUPPORT=3D1 +EXTRA_CFLAGS +=3D -DZDCONF_WE_STAT_SUPPORT=3D0 EXTRA_CFLAGS +=3D -DHOST_IF_USB EXTRA_CFLAGS +=3D -DAMAC EXTRA_CFLAGS +=3D -DGCCK or just=20 -EXTRA_CFLAGS +=3D -DZDCONF_WE_STAT_SUPPORT=3D1 +EXTRA_CFLAGS +=3D -DZDCONF_WE_STAT_SUPPORT=3D0 I get errorrs: * Failed Patch: net_dev.patch ! * ( /usr/portage/net-wireless/zd1211/files/net_dev.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out # cat /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out ***** net_dev.patch ***** =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/ne= t-wireless/zd1211/files/net_dev.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D patch: **** Only garbage was found in the patch input. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > The ebuild will apply the patch itself, because of this line in the > new ebuild: >=20 > + epatch ${FILESDIR}/net_dev.patch >=20 > alan TIA!=20 -- gentoo-user@gentoo.org mailing list