public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Raty (betelgeuse)" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/joda-time/files: 1.5.1-ecj.patch
Date: Thu, 20 Dec 2007 22:49:31 +0000	[thread overview]
Message-ID: <E1J5UCp-0001p1-MG@stork.gentoo.org> (raw)

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



                 reply	other threads:[~2007-12-20 22:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1J5UCp-0001p1-MG@stork.gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox