summaryrefslogtreecommitdiff
path: root/jtools/openjdk/patches/disable-backtrace.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-07 12:07:24 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-07 12:07:24 +0200
commit3a38f3668dec0d3b08258f2a252396e00abea9ca (patch)
tree58bc8856a6e7e55cc8d868840f32385e193b88b9 /jtools/openjdk/patches/disable-backtrace.patch
parentc3797a535bb1c353612828918ad35f068b1624e1 (diff)
parentaffdd5dff82289e9da4c29737ec66b563e14daa7 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/openjdk/patches/disable-backtrace.patch')
-rw-r--r--jtools/openjdk/patches/disable-backtrace.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/jtools/openjdk/patches/disable-backtrace.patch b/jtools/openjdk/patches/disable-backtrace.patch
new file mode 100644
index 000000000..393ee9251
--- /dev/null
+++ b/jtools/openjdk/patches/disable-backtrace.patch
@@ -0,0 +1,24 @@
+
+ uClibc does not have backtrace support right now. Disable it for now.
+
+--- openjdk-6.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-02-28 17:06:50.000000000 +0100
++++ openjdk-6/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-08-08 10:45:01.445330729 +0200
+@@ -27,9 +27,6 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xos.h>
+ #include <X11/Xatom.h>
+-#ifdef __linux__
+-#include <execinfo.h>
+-#endif
+
+ #include <jvm.h>
+ #include <jni.h>
+@@ -689,7 +686,7 @@
+ return ret;
+ }
+
+-#ifdef __linux__
++#if 0
+ void print_stack(void)
+ {
+ void *array[10];