aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk8/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-07 14:02:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-07 14:03:23 +0000
commit58a5aac536c752d7c0a69250dfeeebf5d9bceade (patch)
treee5f62e6abe645ce302f6088e076b7b78a2a8d3dc /community/openjdk8/icedtea-jdk-execinfo.patch
parentf9916072fe1c7a0e0e4526431839aa9032fe1a8f (diff)
downloadaports-58a5aac536c752d7c0a69250dfeeebf5d9bceade.tar.bz2
aports-58a5aac536c752d7c0a69250dfeeebf5d9bceade.tar.xz
community/openjdk8: moved from testing
Diffstat (limited to 'community/openjdk8/icedtea-jdk-execinfo.patch')
-rw-r--r--community/openjdk8/icedtea-jdk-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/openjdk8/icedtea-jdk-execinfo.patch b/community/openjdk8/icedtea-jdk-execinfo.patch
new file mode 100644
index 0000000000..e4ae562c57
--- /dev/null
+++ b/community/openjdk8/icedtea-jdk-execinfo.patch
@@ -0,0 +1,20 @@
+--- openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c
++++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c
+@@ -27,7 +27,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xos.h>
+ #include <X11/Xatom.h>
+-#ifdef __linux__
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
+ #include <execinfo.h>
+ #endif
+
+@@ -689,7 +689,7 @@
+ return ret;
+ }
+
+-#ifdef __linux__
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
+ void print_stack(void)
+ {
+ void *array[10];