public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-java/joda-time/files: 1.5.1-ecj.patch
@ 2007-12-20 22:49 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; only message in thread
From: Petteri Raty (betelgeuse) @ 2007-12-20 22:49 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    07/12/20 22:49:31

  Added:                1.5.1-ecj.patch
  Log:
  Add patch so that tests compile with ecj. Pointed out in bug #187616.
  (Portage version: 2.1.4_rc9)

Revision  Changes    Path
1.1                  dev-java/joda-time/files/1.5.1-ecj.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/files/1.5.1-ecj.patch?rev=1.1&view=markup
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

Index: 1.5.1-ecj.patch
===================================================================
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
--- joda-time-1.5.1-src.old/src/test/org/joda/time/convert/MockUnknownCalendar.java	2007-12-21 00:43:52.000000000 +0200
+++ joda-time-1.5.1-src/src/test/org/joda/time/convert/MockUnknownCalendar.java	2007-12-21 00:46:42.000000000 +0200
@@ -34,7 +34,10 @@
     MockUnknownCalendar(TimeZone zone) {
         this.zone = zone;
     }
-    
+
+    public int compareTo(Object o) {
+        return super.compareTo((Calendar) o);
+    }
     public long getTimeInMillis() {
         return millis;
     }



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-20 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20 22:49 [gentoo-commits] gentoo-x86 commit in dev-java/joda-time/files: 1.5.1-ecj.patch Petteri Raty (betelgeuse)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox