summaryrefslogtreecommitdiffstats
path: root/gcc47-java-jni.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 00:42:10 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 00:42:10 -0500
commit6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb (patch)
treed5cf1b3104dfc411c45a8c1a4a4251a0fbd6818b /gcc47-java-jni.patch
parent40a0a60a27a65867bc1a97def6fe946ac10b091c (diff)
downloadcygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.tar.gz
cygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.tar.xz
cygwin-gcc-6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb.zip
cygwin-gcc 4.9.2-1
Diffstat (limited to 'gcc47-java-jni.patch')
-rw-r--r--gcc47-java-jni.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/gcc47-java-jni.patch b/gcc47-java-jni.patch
deleted file mode 100644
index 327bd70..0000000
--- a/gcc47-java-jni.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- origsrc/gcc-4.5.0/libjava/classpath/configure.ac 2009-02-05 17:26:08.000000000 -0600
-+++ src/gcc-4.5.0/libjava/classpath/configure.ac 2009-12-06 01:58:25.091013300 -0600
-@@ -26,7 +26,7 @@ case "$host_os" in
- cp_module=""
- ;;
- *)
-- cp_module="-module"
-+ cp_module="-module -avoid-version"
- ;;
- esac
-
---- origsrc/gcc-4.7.2/libjava/classpath/configure 2011-11-29 14:12:00.000000000 -0600
-+++ src/gcc-4.7.2/libjava/classpath/configure 2013-03-01 01:48:05.585762700 -0600
-@@ -3172,7 +3172,7 @@ case "$host_os" in
- cp_module=""
- ;;
- *)
-- cp_module="-module"
-+ cp_module="-module -avoid-version"
- ;;
- esac
-
---- origsrc/gcc-4.7.2/libjava/include/posix.h 2011-01-03 14:52:22.000000000 -0600
-+++ src/gcc-4.7.2/libjava/include/posix.h 2013-03-06 20:26:16.157459700 -0600
-@@ -47,11 +47,17 @@ details. */
- #include <java/util/Properties.h>
-
- // Prefix and suffix for shared libraries.
-+#ifdef __CYGWIN__
-+#define _Jv_platform_solib_prefix "cyg"
-+#else
- #define _Jv_platform_solib_prefix "lib"
-+#endif
- #if defined(__APPLE__) && defined(__MACH__)
- #define _Jv_platform_solib_suffix ".dylib"
- #elif defined(HPUX) && defined(HP_PA)
- #define _Jv_platform_solib_suffix ".sl"
-+#elif defined(__CYGWIN__)
-+#define _Jv_platform_solib_suffix ".dll"
- #else
- #define _Jv_platform_solib_suffix ".so"
- #endif
---- origsrc/gcc-4.7.2/libjava/java/net/natVMURLConnection.cc 2009-12-01 16:05:25.000000000 -0600
-+++ src/gcc-4.7.2/libjava/java/net/natVMURLConnection.cc 2013-03-06 20:20:42.202970700 -0600
-@@ -32,7 +32,11 @@ void
- java::net::VMURLConnection::init ()
- {
- #if defined (HAVE_MAGIC_T) && defined (HAVE_MAGIC_H) && defined (USE_LTDL)
-+#ifdef __CYGWIN__
-+ lt_dlhandle handle = lt_dlopenext ("cygmagic-1.dll");
-+#else
- lt_dlhandle handle = lt_dlopenext ("libmagic.so");
-+#endif
- if (!handle)
- return;
-