From 7bc85f808e5ec9601187cc9ab45a34cb0b8a0247 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 15 Jan 2005 12:20:34 +0000 Subject: Recognize Linux's JDK as well. Still jdk is needed in the build process. --- .../files/patch-jvmaccess+source+javainfoimpl.cxx | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 editors/openoffice-1.1/files/patch-jvmaccess+source+javainfoimpl.cxx (limited to 'editors/openoffice-1.1/files') 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. -- cgit v1.2.3