Gentoo Archives: gentoo-java

From: David Emmett <daisy@××××××.nl>
To: gentoo-java@l.g.o
Cc: Vlastimil Babka <caster@g.o>
Subject: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2
Date: Sun, 07 Jan 2007 17:16:01
Message-Id: 200701071814.22774.daisy@xs4all.nl
In Reply to: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 by Vlastimil Babka
1 On Sunday 07 January 2007 18:01, Vlastimil Babka wrote:
2 > Looks like they already closed it wontfix, because the project is dead.
3 > Kinda what I expected.
4
5 Which rather begs the question: why do we need mockobjects to emerge groovy?
6 >
7 > > ------------------------------------------------------------------------
8 > >
9 > > --- AssertMo.java 2007-01-07 17:33:53.000000000 +0100
10 > > +++ AssertMo.java.orig 2007-01-07 17:35:10.000000000 +0100
11 >
12 > You made the patch the other way around, do it like "diff -u file.orig
13 > file". Also, to be directly usable in the ebuild, it must contain full
14 > path relative to WORKDIR (which is usually inside the directory you get
15 > after unpacking the sources). So, in this case it's "diff -u
16 > src/core/com/.../....orig src/core/com/.../...java"
17
18 Yes, I think I just ran into that problem, as I was playing around with making
19 an ebuild myself (learning how to patch). I wanted a fix so I can install
20 groovy, and had put it in an overlay dir.
21
22 Thanks for the tips, though, as it now works. I have attached a working
23 patch...
24
25 Cheers,
26
27 David
28
29
30 --
31 ----
32 http://www.motogpmatters.com/ - MotoGP News and Race Reports

Attachments

File name MIME type
assert.patch text/x-diff

Replies