disable-backtrace.patch 553 B

123456789101112131415161718192021222324
  1. uClibc does not have backtrace support right now. Disable it for now.
  2. --- openjdk-6.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-02-28 17:06:50.000000000 +0100
  3. +++ openjdk-6/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-08-08 10:45:01.445330729 +0200
  4. @@ -27,9 +27,6 @@
  5. #include <X11/Xutil.h>
  6. #include <X11/Xos.h>
  7. #include <X11/Xatom.h>
  8. -#ifdef __linux__
  9. -#include <execinfo.h>
  10. -#endif
  11. #include <jvm.h>
  12. #include <jni.h>
  13. @@ -689,7 +686,7 @@
  14. return ret;
  15. }
  16. -#ifdef __linux__
  17. +#if 0
  18. void print_stack(void)
  19. {
  20. void *array[10];