summaryrefslogtreecommitdiff
path: root/recipes/cacao
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cacao')
-rw-r--r--recipes/cacao/cacao-native_0.99.4.bb3
-rw-r--r--recipes/cacao/files/cacao-disable-stackbase-check.patch12
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes/cacao/cacao-native_0.99.4.bb b/recipes/cacao/cacao-native_0.99.4.bb
index 1b996ffbcc..1e09e3ddec 100644
--- a/recipes/cacao/cacao-native_0.99.4.bb
+++ b/recipes/cacao/cacao-native_0.99.4.bb
@@ -1,4 +1,5 @@
-# Do not use this on amd64 hosts yet!
+# 0.99.4 appears to be broken on amd64 and i386 :(
+DEFAULT_PREFERENCE = "-1"
require cacao-native.inc
diff --git a/recipes/cacao/files/cacao-disable-stackbase-check.patch b/recipes/cacao/files/cacao-disable-stackbase-check.patch
new file mode 100644
index 0000000000..8eb20894d4
--- /dev/null
+++ b/recipes/cacao/files/cacao-disable-stackbase-check.patch
@@ -0,0 +1,12 @@
+Index: cacao-0.99.3+hg20090109/src/mm/boehm-gc/os_dep.c
+===================================================================
+--- cacao-0.99.3+hg20090109.orig/src/mm/boehm-gc/os_dep.c 2009-02-15 16:29:15.000000000 +0100
++++ cacao-0.99.3+hg20090109/src/mm/boehm-gc/os_dep.c 2009-02-15 16:29:24.000000000 +0100
+@@ -1077,7 +1077,6 @@
+ c = stat_buf[buf_offset++];
+ }
+ close(f);
+- if (result < 0x10000000) ABORT("Absurd stack bottom value");
+ return (ptr_t)result;
+ }
+