summaryrefslogtreecommitdiffstats
path: root/main/openjdk6/icedtea-jdk-execinfo.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-02-19 07:48:39 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-02-19 07:50:34 +0000
commit8df009284c4c1f79abd2360b5c373fb391c34706 (patch)
treefaebca0cc634d1472f721acbe1e63214461e88f0 /main/openjdk6/icedtea-jdk-execinfo.patch
parent20eae13751573f2ba970f44d16674cbaaf69e101 (diff)
downloadaports-8df009284c4c1f79abd2360b5c373fb391c34706.tar.bz2
aports-8df009284c4c1f79abd2360b5c373fb391c34706.tar.xz
main/openjdk6: fix musl build
exclude hotspot agent as thread_db is not properly supported in musl.
Diffstat (limited to 'main/openjdk6/icedtea-jdk-execinfo.patch')
-rw-r--r--main/openjdk6/icedtea-jdk-execinfo.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/openjdk6/icedtea-jdk-execinfo.patch b/main/openjdk6/icedtea-jdk-execinfo.patch
index fb17ab692..a6499dcb0 100644
--- a/main/openjdk6/icedtea-jdk-execinfo.patch
+++ b/main/openjdk6/icedtea-jdk-execinfo.patch
@@ -5,7 +5,7 @@
#include <X11/Xatom.h>
#include <Xm/MwmUtil.h>
-#ifdef __linux__
-+#if defined(__linux__) && ! defined(__UCLIBC__)
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
#include <execinfo.h>
#endif
#include <stdio.h>
@@ -14,7 +14,7 @@
}
-#ifdef __linux__
-+#if defined(__linux__) && ! defined(__UCLIBC__)
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
void
print_stack (void)
{
@@ -25,7 +25,7 @@
#include <X11/Xos.h>
#include <X11/Xatom.h>
-#ifdef __linux__
-+#if defined(__linux__) && ! defined(__UCLIBC__)
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
#include <execinfo.h>
#endif
@@ -34,7 +34,7 @@
}
-#ifdef __linux__
-+#if defined(__linux__) && ! defined(__UCLIBC__)
++#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
void print_stack(void)
{
void *array[10];