summaryrefslogtreecommitdiff
path: root/package/openjdk/patches/disable-backtrace.patch
blob: f3d1424c188040e6c4f52cd562ce9965ca4ef3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

 uClibc does not have backtrace support right now. Disable it for now.

--- w-openjdk-6-1.orig/openjdk-6/jdk/src/solaris/native/sun/xawt/XToolkit.c	2011-02-28 17:06:50.000000000 +0100
+++ w-openjdk-6-1/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];