diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-28 03:06:55 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-28 03:06:55 +0200 |
commit | 0c9fca670b86871f111e1cda82ac8f70605992be (patch) | |
tree | b879cb81743c4bdf576bbcf69c494681a6e7b50f /package/cacaovm/patches/patch-src_threads_posix_thread-posix_h | |
parent | 6692b15f8bd7ffc742cce5b67b963b458f87f8b6 (diff) |
add first step to get java working
Diffstat (limited to 'package/cacaovm/patches/patch-src_threads_posix_thread-posix_h')
-rw-r--r-- | package/cacaovm/patches/patch-src_threads_posix_thread-posix_h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <pthread.h> ++#if defined(__DARWIN__) ++#include <sys/ucontext.h> ++#else + #include <ucontext.h> ++#endif + + #include "vm/types.h" + |