summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-01-15 12:20:34 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-01-15 12:20:34 +0000
commit7bc85f808e5ec9601187cc9ab45a34cb0b8a0247 (patch)
tree86fda90091293154128cb2bb30b5f41058e5a7e2 /editors/openoffice-1.1/files
parentFix buffer overflow vulnerability. (diff)
Recognize Linux's JDK as well.
Still jdk is needed in the build process.
Notes
Notes: svn path=/head/; revision=126500
Diffstat (limited to 'editors/openoffice-1.1/files')
-rw-r--r--editors/openoffice-1.1/files/patch-jvmaccess+source+javainfoimpl.cxx34
1 files changed, 34 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-jvmaccess+source+javainfoimpl.cxx b/editors/openoffice-1.1/files/patch-jvmaccess+source+javainfoimpl.cxx
new file mode 100644
index 000000000000..6ef5bf464ef9
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-jvmaccess+source+javainfoimpl.cxx
@@ -0,0 +1,34 @@
+http://qa.openoffice.org/issues/show_bug.cgi?id=40643
+
+Although FreeBSD has its own Java, 1.3.1 and 1.4.2, however,
+it is not certified by SUN Microsystems. FreeBSD can use Linux's Java
+since there is a binary compatibility (NOT EMULATION!)
+Recognize Linux's Java (SUN's, IBM's and Blackdown's) by default,
+we need to add several seachpaths.
+
+Index: jvmaccess/source/javainfoimpl.cxx
+===================================================================
+RCS file: /cvs/udk/jvmaccess/source/Attic/javainfoimpl.cxx,v
+retrieving revision 1.7.12.5
+diff -u -r1.7.12.5 javainfoimpl.cxx
+--- jvmaccess/source/javainfoimpl.cxx 20 Oct 2004 11:43:13 -0000 1.7.12.5
++++ jvmaccess/source/javainfoimpl.cxx 14 Jan 2005 10:58:53 -0000
+@@ -240,8 +240,16 @@
+ "java", \
+ "Home", \
+ "IBMJava2-" ARCH "-131", \
+- "IBMJava2-" ARCH "-141"
+-
++ "IBMJava2-" ARCH "-141" , \
++ "jdk1.4.2", \
++ "diablo-jre1.3.1", \
++ "diablo-jdk1.3.1", \
++ "linux-sun-jdk1.3.1", \
++ "linux-sun-jdk1.4.2", \
++ "linux-ibm-jdk1.3.1", \
++ "linux-ibm-jdk1.4.2", \
++ "linux-blackdown-jdk1.3.1", \
++ "linux-blackdown-jdk1.4.2"
+
+ /* These are directories in which a java installation is
+ looked for.