diff options
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch b/recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch new file mode 100644 index 0000000..c21fcf1 --- /dev/null +++ b/recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Index: 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 | |||