summaryrefslogtreecommitdiff
path: root/user/openjdk7/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-10-31 22:39:57 -0500
committerZach van Rijn <me@zv.io>2022-11-02 16:01:24 -0500
commitc5b882546f831beffaec290c7b5c6ee3b4efc258 (patch)
treeab443a31f04ce8e2a8d8d3b5bb177910641a7fa0 /user/openjdk7/icedtea-jdk-execinfo.patch
parentf501eba1775d96f4438e2086e4b66966f2ec06a8 (diff)
downloadpackages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.gz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.bz2
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.xz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.zip
[WIP] import from ppc64 test tree.
Diffstat (limited to 'user/openjdk7/icedtea-jdk-execinfo.patch')
-rw-r--r--user/openjdk7/icedtea-jdk-execinfo.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/openjdk7/icedtea-jdk-execinfo.patch b/user/openjdk7/icedtea-jdk-execinfo.patch
new file mode 100644
index 000000000..a6499dcb0
--- /dev/null
+++ b/user/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];