summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-01-27 22:36:48 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-01-27 22:36:48 +0100
commitf5f49c8fd63d6d38938972841759006c69afcc15 (patch)
treeba134c64e2375c57dcbde4a8e255d6ac61c7c6c7 /recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch
parentc849ac342b7c4cdb275012a49cc3f8fe847df7c1 (diff)
downloadmeta-java-f5f49c8fd63d6d38938972841759006c69afcc15.tar.gz
openjdk6: apply same fix for ucontext for cacao on arm to openjdk6 too
Diffstat (limited to 'recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch')
-rw-r--r--recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch b/recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch
new file mode 100644
index 0000000..c21fcf1
--- /dev/null
+++ b/recipes-core/openjdk/openjdk-6-6b24/cacao-arm-ucontext.patch
@@ -0,0 +1,24 @@
1Index: cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c
2===================================================================
3--- cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c 2013-01-26 21:30:54.206581090 +0100
4+++ cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c 2013-01-26 21:31:34.406991316 +0100
5@@ -28,19 +28,7 @@
6
7 #include <stdint.h>
8
9-#define ucontext broken_glibc_ucontext
10-#define ucontext_t broken_glibc_ucontext_t
11 #include <ucontext.h>
12-#undef ucontext
13-#undef ucontext_t
14-
15-typedef struct ucontext {
16- unsigned long uc_flags;
17- struct ucontext *uc_link;
18- stack_t uc_stack;
19- struct sigcontext uc_mcontext;
20- sigset_t uc_sigmask;
21-} ucontext_t;
22
23 #define scontext_t struct sigcontext
24