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?¿?
>
> You list two patches.
>
> The one for the ebuild you should apply to the ebuild manually
> using 'patch', but you seem to have successfully done that already.
Yep,
> Then copy the first patch (net_dev.patch)
Ok, but, what is the content of net_dev.patch? if I put:
# cat files/net_dev.patch
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
or just
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
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 *****
=========================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch <
/usr/portage/net-wireless/zd1211/files/net_dev.patch
=========================
patch: **** Only garbage was found in the patch input.
=========================
> The ebuild will apply the patch itself, because of this line in the
> new ebuild:
>
> + epatch ${FILESDIR}/net_dev.patch
>
> alan
TIA!
--
[EMAIL PROTECTED] mailing list