Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2
Date: Sun, 07 Jan 2007 17:02:15
Message-Id: 45A1275C.1080502@gentoo.org
In Reply to: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 by David Emmett
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 David Emmett wrote:
5 >> I have also submitted this bug to the mockobjects project. Hopefully, they
6 >> will also fix this problem.
7 >>
8
9 Looks like they already closed it wontfix, because the project is dead.
10 Kinda what I expected.
11
12 > I found out how to make a patch (is it really as simple as doing diff -u?),
13 > and have attached the patch file. This patch file needs to be added to the
14 > existing patch file for mockobjects-0.09-r1 (which patches the build.xml
15 > file).
16 >
17 > Hope this is useful,
18
19 It would be, if I didn't fix it already, but thanks anyway for your
20 contribution and don't let that discourage you :) At least you learned
21 some new things :)
22
23 >
24 > ------------------------------------------------------------------------
25 >
26 > --- AssertMo.java 2007-01-07 17:33:53.000000000 +0100
27 > +++ AssertMo.java.orig 2007-01-07 17:35:10.000000000 +0100
28
29 You made the patch the other way around, do it like "diff -u file.orig
30 file". Also, to be directly usable in the ebuild, it must contain full
31 path relative to WORKDIR (which is usually inside the directory you get
32 after unpacking the sources). So, in this case it's "diff -u
33 src/core/com/.../....orig src/core/com/.../...java"
34
35 - --
36 Vlastimil Babka (Caster)
37 Gentoo/Java
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v1.4.6 (GNU/Linux)
40 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
41
42 iD8DBQFFoSdbtbrAj05h3oQRAonPAJ90+nh9B7asaktD2QgqmLWPrg2ajgCfSfiI
43 o0l7fTpi0FCgMCtDoZdJ0hQ=
44 =4KNo
45 -----END PGP SIGNATURE-----
46 --
47 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 David Emmett <daisy@××××××.nl>