summaryrefslogtreecommitdiff
path: root/user/openjdk8/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:23:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:23:39 +0000
commitb76feb56976cf8c06b8d6d3b797a8415b5ccb453 (patch)
treed6f69724d050abf075b2236f9578f8728673a255 /user/openjdk8/icedtea-jdk-execinfo.patch
parent47f49a1accf187c4800566c10ce163b98ef5b149 (diff)
downloadpackages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.gz
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.bz2
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.xz
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.zip
user/openjdk8: new package
Diffstat (limited to 'user/openjdk8/icedtea-jdk-execinfo.patch')
-rw-r--r--user/openjdk8/icedtea-jdk-execinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/openjdk8/icedtea-jdk-execinfo.patch b/user/openjdk8/icedtea-jdk-execinfo.patch
new file mode 100644
index 000000000..e4ae562c5
--- /dev/null
+++ b/user/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];