From 0c9fca670b86871f111e1cda82ac8f70605992be Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 28 Mar 2011 03:06:55 +0200 Subject: add first step to get java working --- package/cacaovm/patches/patch-src_cacaoh_headers_c | 14 ++++++++++++++ .../cacaovm/patches/patch-src_threads_posix_thread-posix_h | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 package/cacaovm/patches/patch-src_cacaoh_headers_c create mode 100644 package/cacaovm/patches/patch-src_threads_posix_thread-posix_h (limited to 'package/cacaovm/patches') diff --git a/package/cacaovm/patches/patch-src_cacaoh_headers_c b/package/cacaovm/patches/patch-src_cacaoh_headers_c new file mode 100644 index 000000000..0e1ca0923 --- /dev/null +++ b/package/cacaovm/patches/patch-src_cacaoh_headers_c @@ -0,0 +1,14 @@ +--- cacao-0.99.4.orig/src/cacaoh/headers.c 2008-08-04 18:51:28.000000000 +0200 ++++ cacao-0.99.4/src/cacaoh/headers.c 2011-03-26 20:11:11.000000000 +0100 +@@ -35,8 +35,10 @@ + #if defined(ENABLE_THREADS) + # if defined(__DARWIN__) + # include ++# include ++# else ++# include + # endif +-# include + #endif + + #include "mm/gc-common.h" diff --git a/package/cacaovm/patches/patch-src_threads_posix_thread-posix_h b/package/cacaovm/patches/patch-src_threads_posix_thread-posix_h new file mode 100644 index 000000000..fc43526fb --- /dev/null +++ b/package/cacaovm/patches/patch-src_threads_posix_thread-posix_h @@ -0,0 +1,14 @@ +--- cacao-0.99.4.orig/src/threads/posix/thread-posix.h 2008-08-04 18:51:28.000000000 +0200 ++++ cacao-0.99.4/src/threads/posix/thread-posix.h 2011-03-26 20:12:13.000000000 +0100 +@@ -34,7 +34,11 @@ typedef struct threadobject threadobject + #include "config.h" + + #include ++#if defined(__DARWIN__) ++#include ++#else + #include ++#endif + + #include "vm/types.h" + -- cgit v1.2.3