summaryrefslogtreecommitdiff
path: root/package/cacaovm/patches/patch-src_threads_posix_thread-posix_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:21:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:21:13 +0200
commitf4e50548b0d41f5b4e6faae3ddc7283dd1a5dd6c (patch)
tree50b3bae39301c2ef89bbbabdb843a62d679e034e /package/cacaovm/patches/patch-src_threads_posix_thread-posix_h
parentc2bd3a43342e37a05a97e12581dd2bd52993877a (diff)
I am to tupid for git, today.
Revert "Revert "fix conflict, autoseect libgcj"" This reverts commit c2bd3a43342e37a05a97e12581dd2bd52993877a.
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_h14
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"
+