summaryrefslogtreecommitdiff
path: root/experimental/openjdk7/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 23:08:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 23:08:27 +0000
commite3a4ee5e107db0e37a99e7b50d976b0e938f5392 (patch)
treec96d33f0fb63ab0c2df3b2d8c6982950691ed17f /experimental/openjdk7/icedtea-jdk-execinfo.patch
parent5ba732fc812b6ccc5a40d43a1a4fd9c769bc73e0 (diff)
downloadpackages-e3a4ee5e107db0e37a99e7b50d976b0e938f5392.tar.gz
packages-e3a4ee5e107db0e37a99e7b50d976b0e938f5392.tar.bz2
packages-e3a4ee5e107db0e37a99e7b50d976b0e938f5392.tar.xz
packages-e3a4ee5e107db0e37a99e7b50d976b0e938f5392.zip
experimental/openjdk7: new package (requires gawk)
Diffstat (limited to 'experimental/openjdk7/icedtea-jdk-execinfo.patch')
-rw-r--r--experimental/openjdk7/icedtea-jdk-execinfo.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/experimental/openjdk7/icedtea-jdk-execinfo.patch b/experimental/openjdk7/icedtea-jdk-execinfo.patch
new file mode 100644
index 000000000..a6499dcb0
--- /dev/null
+++ b/experimental/openjdk7/icedtea-jdk-execinfo.patch
@@ -0,0 +1,40 @@
+--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_xembed_server.c
++++ openjdk/jdk/src/solaris/native/sun/awt/awt_xembed_server.c
+@@ -35,7 +35,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xatom.h>
+ #include <Xm/MwmUtil.h>
+-#ifdef __linux__
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
+ #include <execinfo.h>
+ #endif
+ #include <stdio.h>
+@@ -835,7 +835,7 @@
+ AWT_UNLOCK();
+ }
+
+-#ifdef __linux__
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
+ void
+ print_stack (void)
+ {
+--- 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];