Gentoo Archives: gentoo-dev

From: Jay Goodman Tamboli <jay@×××××××.cx>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] reformatting a patch -- first ebuild
Date: Mon, 02 Feb 2004 13:21:26
Message-Id: 20040202132056.GA5467@localhost.localdomain
In Reply to: Re: [gentoo-dev] reformatting a patch -- first ebuild by Chris Gianelloni
1 On Mon, Feb 02, 2004 at 06:53:47AM -0500, Chris Gianelloni wrote:
2 > On Mon, 2004-02-02 at 03:40, Eivind Tagseth wrote:
3 > > * Jay Goodman Tamboli <jay@×××××××.cx> [2004-01-31 16:03:47 -0500]:
4 > >
5 > > > I'm trying to create an ebuild for streamripper that includes the HTTP
6 > > > authentication patch from
7 > > > <http://radsoft.com/~cdb/pub/streamripper-httpauth.patch>. To get it to
8 > > > build, I had to download the patch, edit it to change "old" to "work.orig"
9 > > > and "new" to "work",
10 > >
11 > > Sounds to me like you should rather be running patch with -p 1 (or -p 2)?
12 >
13 > ...or simply try using epatch and see if that solves the problems for
14 > you. I would stick the patch in SRC_URI to point to the original
15 > author's page, then epatch ${DISTFILES}/patchname
16
17 Without bzip2ing the file, I got a file format not recognized error, and it
18 appeared to me that the patch file needed work and work.orig as paths.
19 Regardless, the patch and ebuild are now in bugs.gentoo.org (#40028).
20
21 /jgt
22 --
23 Americans are conditioned by junk scam mail, just like the Fremen were
24 conditioned by the desert. -- The Cube, Forum 2000