summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jfreechart/files')
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.13-build.xml.patch58
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch35
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch24
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch25
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch24
-rw-r--r--dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch11
6 files changed, 177 insertions, 0 deletions
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.13-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.13-build.xml.patch
new file mode 100644
index 000000000000..8665a15aa0e2
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.13-build.xml.patch
@@ -0,0 +1,58 @@
+diff -Nur jfreechart-1.0.13/ant/build.xml jfreechart-1.0.13_patched/ant/build.xml
+--- jfreechart-1.0.13/ant/build.xml 2009-04-20 11:23:40.000000000 +0300
++++ jfreechart-1.0.13_patched/ant/build.xml 2009-05-11 23:36:27.000000000 +0300
+@@ -40,11 +40,9 @@
+ <available classname="java.lang.Annotation" property="src.version" value="1.5"/>
+ <available classname="java.lang.Annotation" property="target.version" value="1.5"/>
+ <path id="build.classpath">
+- <fileset dir="${basedir}/lib/">
+- <include name="${jcommon.name}-${jcommon.version}.jar"/>
+- <include name="servlet.jar"/>
+- <include name="gnujaxp.jar" unless="JDK1.4+"/>
+- </fileset>
++ <pathelement location="${jcommon.jar}"/>
++ <pathelement location="${servlet.jar}"/>
++ <pathelement location="${gnujaxp.jar}"/>
+ </path>
+
+ </target>
+@@ -324,7 +322,7 @@
+
+ <!-- COMPILE THE JUNIT TESTS. -->
+ <target name="compile-tests"
+- depends="compile,compile-experimental"
++ depends="initialise"
+ description="Compile the test code">
+
+ <mkdir dir="${basedir}/build-tests"/>
+@@ -338,8 +336,8 @@
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${junit.jar}"/>
+- <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}.jar"/>
+- <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
++ <pathelement location="${basedir}/lib/${jfreechart.name}-${jfreechart.version}.jar"/>
++ <pathelement location="${basedir}/lib/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
+ <pathelement location="${basedir}/build-tests"/>
+ </classpath>
+ </javac>
+@@ -357,7 +355,7 @@
+ <junit printSummary="yes"
+ haltonerror="true"
+ haltonfailure="true"
+- fork="true"
++ fork="false"
+ dir=".">
+
+ <sysproperty key="basedir" value="."/>
+@@ -365,8 +363,8 @@
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${junit.jar}"/>
+- <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}.jar"/>
+- <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
++ <pathelement location="${basedir}/lib/${jfreechart.name}-${jfreechart.version}.jar"/>
++ <pathelement location="${basedir}/lib/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
+ <pathelement location="${basedir}/build-tests"/>
+ </classpath>
+ <batchtest todir="${basedir}/build-tests-reports">
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch
new file mode 100644
index 000000000000..f07e5be5df41
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.14-build.xml.patch
@@ -0,0 +1,35 @@
+--- a/ant/build.xml 2011-11-20 22:40:13.000000000 +0100
++++ b/ant/build.xml 2013-03-09 14:10:53.987970148 +0100
+@@ -40,11 +40,9 @@
+ <available classname="java.lang.Annotation" property="src.version" value="1.5"/>
+ <available classname="java.lang.Annotation" property="target.version" value="1.5"/>
+ <path id="build.classpath">
+- <fileset dir="${basedir}/lib/">
+- <include name="${jcommon.name}-${jcommon.version}.jar"/>
+- <include name="servlet.jar"/>
+- <include name="gnujaxp.jar" unless="JDK1.4+"/>
+- </fileset>
++ <pathelement location="${jcommon.jar}"/>
++ <pathelement location="${servlet.jar}"/>
++ <pathelement location="${gnujaxp.jar}"/>
+ </path>
+
+ </target>
+@@ -321,7 +319,7 @@
+
+ <!-- COMPILE THE JUNIT TESTS. -->
+ <target name="compile-tests"
+- depends="compile,compile-experimental"
++ depends="initialise"
+ description="Compile the test code">
+
+ <mkdir dir="${basedir}/build-tests"/>
+@@ -354,7 +352,7 @@
+ <junit printSummary="yes"
+ haltonerror="true"
+ haltonfailure="true"
+- fork="true"
++ fork="false"
+ dir=".">
+
+ <sysproperty key="basedir" value="."/>
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch b/dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch
new file mode 100644
index 000000000000..b932d863bf83
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.14-fix-TimeSeriesCollectionTests.patch
@@ -0,0 +1,24 @@
+--- a/tests/org/jfree/data/time/junit/TimeSeriesCollectionTests.java 2011-11-20 22:40:13.000000000 +0100
++++ b/tests/org/jfree/data/time/junit/TimeSeriesCollectionTests.java 2013-05-21 00:18:03.840041846 +0200
+@@ -339,6 +339,10 @@
+ * java.util.List, boolean)} method.
+ */
+ public void testFindDomainBounds() {
++ // store the current time zone
++ TimeZone saved = TimeZone.getDefault();
++ TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
++
+ TimeSeriesCollection dataset = new TimeSeriesCollection();
+ List visibleSeriesKeys = new java.util.ArrayList();
+ Range r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys,
+@@ -351,10 +355,6 @@
+ r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
+ assertNull(r);
+
+- // store the current time zone
+- TimeZone saved = TimeZone.getDefault();
+- TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
+-
+ s1.add(new Year(2008), 8.0);
+ r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
+ assertEquals(1199142000000.0, r.getLowerBound(), EPSILON);
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch
new file mode 100644
index 000000000000..ffe657b89c9d
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch
@@ -0,0 +1,25 @@
+--- a/ant/build.xml 2011-11-20 22:40:13.000000000 +0100
++++ b/ant/build.xml 2013-03-09 14:10:53.987970148 +0100
+@@ -40,10 +40,9 @@
+ <available classname="java.lang.Annotation" property="src.version" value="1.5"/>
+ <available classname="java.lang.Annotation" property="target.version" value="1.5"/>
+ <path id="build.classpath">
+- <fileset dir="${basedir}/lib/">
+- <include name="${jcommon.name}-${jcommon.version}.jar"/>
+- <include name="servlet.jar"/>
+- </fileset>
++ <pathelement location="${jcommon.jar}"/>
++ <pathelement location="${servlet.jar}"/>
++ <pathelement location="${gnujaxp.jar}"/>
+ </path>
+
+ </target>
+@@ -321,7 +320,7 @@
+
+ <!-- COMPILE THE JUNIT TESTS. -->
+ <target name="compile-tests"
+- depends="compile,compile-experimental"
++ depends="initialise"
+ description="Compile the test code">
+
+ <mkdir dir="${basedir}/build-tests"/>
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch b/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch
new file mode 100644
index 000000000000..ebb6c4aeffa0
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch
@@ -0,0 +1,24 @@
+--- a/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2011-11-20 22:40:13.000000000 +0100
++++ b/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2013-05-21 00:18:03.840041846 +0200
+@@ -339,6 +339,10 @@
+ * java.util.List, boolean)} method.
+ */
+ public void testFindDomainBounds() {
++ // store the current time zone
++ TimeZone saved = TimeZone.getDefault();
++ TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
++
+ TimeSeriesCollection dataset = new TimeSeriesCollection();
+ List visibleSeriesKeys = new java.util.ArrayList();
+ Range r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys,
+@@ -351,10 +355,6 @@
+ r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
+ assertNull(r);
+
+- // store the current time zone
+- TimeZone saved = TimeZone.getDefault();
+- TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
+-
+ s1.add(new Year(2008), 8.0);
+ r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true);
+ assertEquals(1199142000000.0, r.getLowerBound(), EPSILON);
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch
new file mode 100644
index 000000000000..cf4c9ada537f
--- /dev/null
+++ b/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch
@@ -0,0 +1,11 @@
+--- ant/build.xml.original 2007-02-09 23:44:42.000000000 +0100
++++ ant/build.xml 2007-02-09 23:45:01.000000000 +0100
+@@ -338,7 +338,7 @@
+ <junit printSummary="yes"
+ haltonerror="true"
+ haltonfailure="true"
+- fork="true"
++ fork="false"
+ dir=".">
+
+ <sysproperty key="basedir" value="."/>