[openjdk-8] 03/04: Removed jni_md_h_JNIEXPORT_visibility.patch (fixed upstream)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 31 15:25:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository openjdk-8.

commit 5ea43cf3f383d0fdd67377951471654c61437c3c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Mar 31 17:02:06 2014 +0200

    Removed jni_md_h_JNIEXPORT_visibility.patch (fixed upstream)
---
 debian/patches/jni_md_h_JNIEXPORT_visibility.patch | 25 ----------------------
 debian/rules                                       |  1 -
 2 files changed, 26 deletions(-)

diff --git a/debian/patches/jni_md_h_JNIEXPORT_visibility.patch b/debian/patches/jni_md_h_JNIEXPORT_visibility.patch
deleted file mode 100644
index 63454d2..0000000
--- a/debian/patches/jni_md_h_JNIEXPORT_visibility.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: JNIEXPORT definition does not work with -fvisibility=hidden
- Since GCC 4, GCC supports symbol visibility. If compiler option
- -fvisibility=hidden, then all symbols are hidden by default and export
- symbols should be marked with __attribute__ ((visibility
- ("default"))).
-Author: Damien Raude-Morvan <drazzib at debian.org>
-Author: Tommi Vainikainen <tvainika at debian.org>
-Bug-Debian: http://bugs.debian.org/670896
-Bug-GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30999
-Last-Update: 2012-06-14
-Forwarded: no
---- openjdk/jdk/src/solaris/javavm/export/jni_md.h.orig
-+++ openjdk/jdk/src/solaris/javavm/export/jni_md.h
-@@ -26,7 +26,11 @@
- #ifndef _JAVASOFT_JNI_MD_H_
- #define _JAVASOFT_JNI_MD_H_
- 
-+#if defined(__GNUC__) && __GNUC__ > 3
-+#define JNIEXPORT __attribute__ ((visibility("default")))
-+#else
- #define JNIEXPORT
-+#endif
- #define JNIIMPORT
- #define JNICALL
- 
diff --git a/debian/rules b/debian/rules
index b902d2b..a4b84f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -347,7 +347,6 @@ DISTRIBUTION_PATCHES += \
 	debian/patches/zero-fpu-control-is-noop.diff \
 	debian/patches/zero-missing-headers.diff \
 	debian/patches/libpcsclite-dlopen.diff \
-	debian/patches/jni_md_h_JNIEXPORT_visibility.patch \
 	debian/patches/dnd-files.patch \
 
 ifeq (,$(filter $(DEB_HOST_ARCH),arm64))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-8.git



More information about the pkg-java-commits mailing list