diff options
author | mbr <mbr@FreeBSD.org> | 2003-03-24 01:11:40 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-03-24 01:11:40 +0800 |
commit | 2710c3def4579b798e7c323aee11400cc89d9fa3 (patch) | |
tree | f5bd7a82493e7d5661994315c9c9ecf1c78d9441 /editors | |
parent | 18ce8317475b4d7557d3e71b6bed8991ee89e053 (diff) | |
download | freebsd-ports-gnome-2710c3def4579b798e7c323aee11400cc89d9fa3.tar.gz freebsd-ports-gnome-2710c3def4579b798e7c323aee11400cc89d9fa3.tar.zst freebsd-ports-gnome-2710c3def4579b798e7c323aee11400cc89d9fa3.zip |
We use the linux jdk now to build, so follow the linux if-clauses here.
Diffstat (limited to 'editors')
34 files changed, 680 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice-1.1-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-1.1-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice-1.1/files/patch-source+javavm+interact.cxx b/editors/openoffice-1.1/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-1.1/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-1.1/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-1.1/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-1.1/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice-2.0-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice-2.0-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-2.0-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice-3-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice-3-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-3-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-3-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice-3/files/patch-source+javavm+interact.cxx b/editors/openoffice-3/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-3/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-3/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-3/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-3/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-1.1-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-1.1-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-1.1/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-1.1/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-1.1/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-1.1/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-2-RC/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-2-RC/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-2-RC/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-2-RC/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-2-RC/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-2-RC/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-2-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-2-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-2-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-2-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-2.0-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-2.0-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-2.0/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-2.0/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-2.0/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-2.0/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-2.0/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-2.0/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-2/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-2/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-2/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-2/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-2/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-2/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-3-RC/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-3-RC/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-3-RC/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-3-RC/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-3-RC/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-3-RC/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-3-devel/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-3-devel/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-3-devel/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-3-devel/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-3/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-3/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-3/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-3/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-3/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-3/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) diff --git a/editors/openoffice.org-vcltesttool/files/patch-source+javavm+interact.cxx b/editors/openoffice.org-vcltesttool/files/patch-source+javavm+interact.cxx new file mode 100644 index 000000000000..3b138eaaff50 --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-source+javavm+interact.cxx @@ -0,0 +1,11 @@ +--- ../stoc/source/javavm/interact.cxx.orig Fri Mar 21 11:58:45 2003 ++++ ../stoc/source/javavm/interact.cxx Fri Mar 21 12:01:18 2003 +@@ -129,7 +129,7 @@ + m_aRequest(rRequest) + { + bool bRetry; +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Only if Java is disabled we allow retry: + bRetry = m_aRequest.isExtractableTo( + getCppuType(static_cast< css::java::JavaDisabledException * >(0))); diff --git a/editors/openoffice.org-vcltesttool/files/patch-stoc+source+javavm+javavm.cxx b/editors/openoffice.org-vcltesttool/files/patch-stoc+source+javavm+javavm.cxx new file mode 100644 index 000000000000..a0796522b4c8 --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-stoc+source+javavm+javavm.cxx @@ -0,0 +1,29 @@ +--- ../stoc/source/javavm/javavm.cxx.orig Fri Mar 21 12:03:58 2003 ++++ ../stoc/source/javavm/javavm.cxx Fri Mar 21 12:04:24 2003 +@@ -1097,7 +1097,7 @@ + static_cast< + css::java::JavaNotConfiguredException * >(0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1109,7 +1109,7 @@ + css::java::MissingJavaRuntimeException * >( + 0)))) + { +-#if defined LINUX ++#if defined LINUX || defined FREEBSD + // Because of LD_LIBRARY_PATH, even javaldx --use-links does + // not work sometimes: + m_bDontCreateJvm = true; +@@ -1596,7 +1596,7 @@ + // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because + // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded + // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so +-#ifdef LINUX ++#ifdef LINUX || defined FREEBSD + if(!m_aJavaLib.load(jvm.getRuntimeLib(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) + #else + if(!m_aJavaLib.load(jvm.getRuntimeLib())) |