aboutsummaryrefslogtreecommitdiffstats
path: root/main/openjdk7/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-02-20 07:49:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-02-20 07:50:29 +0000
commitacdecf0f389384a5622583946f65d16e6ed45cec (patch)
tree0f3b86b374d988169c59dc5a096642eae8b534ef /main/openjdk7/icedtea-jdk-execinfo.patch
parente86997cbcc2090b05cb4f07067e3789236b1ffb2 (diff)
downloadaports-acdecf0f389384a5622583946f65d16e6ed45cec.tar.bz2
aports-acdecf0f389384a5622583946f65d16e6ed45cec.tar.xz
main/openjdk7: new aport
Diffstat (limited to 'main/openjdk7/icedtea-jdk-execinfo.patch')
-rw-r--r--main/openjdk7/icedtea-jdk-execinfo.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/openjdk7/icedtea-jdk-execinfo.patch b/main/openjdk7/icedtea-jdk-execinfo.patch
new file mode 100644
index 0000000000..a6499dcb03
--- /dev/null
+++ b/main/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];