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 1H3bPT-0008On-G7 for garchives@archives.gentoo.org; Sun, 07 Jan 2007 17:02:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07H1SLr019834; Sun, 7 Jan 2007 17:01:28 GMT Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07H1RMi022663 for ; Sun, 7 Jan 2007 17:01:28 GMT Received: (qmail 96542 invoked by uid 0); 7 Jan 2007 17:01:23 -0000 Received: from r141.net.upc.cz (HELO ?192.168.1.1?) (62.24.83.141) by smtp.dkm.cz with SMTP; 7 Jan 2007 17:01:23 -0000 Message-ID: <45A1275C.1080502@gentoo.org> Date: Sun, 07 Jan 2007 18:01:16 +0100 From: Vlastimil Babka User-Agent: Thunderbird 2.0b1 (X11/20061210) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 References: <200701071724.12361.daisy@xs4all.nl> <200701071741.03526.daisy@xs4all.nl> In-Reply-To: <200701071741.03526.daisy@xs4all.nl> X-Enigmail-Version: 0.94.1.0 OpenPGP: id=4E61DE84; url=subkeys.pgp.net Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 444c9f58-f835-481c-9178-71d487ecb50b X-Archives-Hash: efa874803840248bbb64a9ad82a164a7 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Emmett wrote: >> I have also submitted this bug to the mockobjects project. Hopefully, they >> will also fix this problem. >> Looks like they already closed it wontfix, because the project is dead. Kinda what I expected. > I found out how to make a patch (is it really as simple as doing diff -u?), > and have attached the patch file. This patch file needs to be added to the > existing patch file for mockobjects-0.09-r1 (which patches the build.xml > file). > > Hope this is useful, It would be, if I didn't fix it already, but thanks anyway for your contribution and don't let that discourage you :) At least you learned some new things :) > > ------------------------------------------------------------------------ > > --- AssertMo.java 2007-01-07 17:33:53.000000000 +0100 > +++ AssertMo.java.orig 2007-01-07 17:35:10.000000000 +0100 You made the patch the other way around, do it like "diff -u file.orig file". Also, to be directly usable in the ebuild, it must contain full path relative to WORKDIR (which is usually inside the directory you get after unpacking the sources). So, in this case it's "diff -u src/core/com/.../....orig src/core/com/.../...java" - -- Vlastimil Babka (Caster) Gentoo/Java -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFoSdbtbrAj05h3oQRAonPAJ90+nh9B7asaktD2QgqmLWPrg2ajgCfSfiI o0l7fTpi0FCgMCtDoZdJ0hQ= =4KNo -----END PGP SIGNATURE----- -- gentoo-java@gentoo.org mailing list