summaryrefslogtreecommitdiff
path: root/jfreereport
diff options
context:
space:
mode:
Diffstat (limited to 'jfreereport')
-rw-r--r--jfreereport/java/libformula/makefile.mk3
-rw-r--r--jfreereport/patches/libformula.patch11
2 files changed, 13 insertions, 1 deletions
diff --git a/jfreereport/java/libformula/makefile.mk b/jfreereport/java/libformula/makefile.mk
index e483c352f61e..8418d468ddac 100644
--- a/jfreereport/java/libformula/makefile.mk
+++ b/jfreereport/java/libformula/makefile.mk
@@ -54,7 +54,8 @@ TARFILE_ROOTDIR=$(TARGET)
PATCH_FILE_NAME=$(PRJ)$/patches$/$(TARGET).patch
CONVERTFILES=build.xml\
- build.properties
+ build.properties \
+ source/org/jfree/formula/function/text/MidFunctionDescription.java
OUT2CLASS=$(TARGET)$(VERSION).jar
diff --git a/jfreereport/patches/libformula.patch b/jfreereport/patches/libformula.patch
index d513c2352355..de65e324aeb2 100644
--- a/jfreereport/patches/libformula.patch
+++ b/jfreereport/patches/libformula.patch
@@ -19,3 +19,14 @@
build.retro.target=1.2
build.retro.jdk=/opt/jdk1.2.2
+--- misc/libformula/source/org/jfree/formula/function/text/MidFunctionDescription.java 2007-10-18 08:21:30.000000000 +0200
++++ misc/build/libformula/source/org/jfree/formula/function/text/MidFunctionDescription.java 2008-07-07 14:44:01.790739928 +0200
+@@ -62,7 +62,7 @@
+
+ public Type getParameterType(final int position)
+ {
+- if(position == 1)
++ if(position == 0)
+ {
+ return TextType.TYPE;
+ }