From: | "Petteri Raty (betelgeuse)" <betelgeuse@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/joda-time/files: 1.5.1-ecj.patch |
Date: | Thu, 20 Dec 2007 22:49:38 |
Message-Id: | E1J5UCp-0001p1-MG@stork.gentoo.org |
1 | betelgeuse 07/12/20 22:49:31 |
2 | |
3 | Added: 1.5.1-ecj.patch |
4 | Log: |
5 | Add patch so that tests compile with ecj. Pointed out in bug #187616. |
6 | (Portage version: 2.1.4_rc9) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-java/joda-time/files/1.5.1-ecj.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/files/1.5.1-ecj.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/files/1.5.1-ecj.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 1.5.1-ecj.patch |
15 | =================================================================== |
16 | diff -ur joda-time-1.5.1-src.old/src/test/org/joda/time/convert/MockUnknownCalendar.java joda-time-1.5.1-src/src/test/org/joda/time/convert/MockUnknownCalendar.java |
17 | --- joda-time-1.5.1-src.old/src/test/org/joda/time/convert/MockUnknownCalendar.java 2007-12-21 00:43:52.000000000 +0200 |
18 | +++ joda-time-1.5.1-src/src/test/org/joda/time/convert/MockUnknownCalendar.java 2007-12-21 00:46:42.000000000 +0200 |
19 | @@ -34,7 +34,10 @@ |
20 | MockUnknownCalendar(TimeZone zone) { |
21 | this.zone = zone; |
22 | } |
23 | - |
24 | + |
25 | + public int compareTo(Object o) { |
26 | + return super.compareTo((Calendar) o); |
27 | + } |
28 | public long getTimeInMillis() { |
29 | return millis; |
30 | } |
31 | |
32 | |
33 | |
34 | -- |
35 | gentoo-commits@g.o mailing list |