summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-03-08 18:41:33 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-03-08 18:41:33 +0000
commit03f90bc7dccba09c08b70c65b01ade95026407b6 (patch)
tree31f401f86d2329feb52fdb0ad293115721203381 /dev-libs/libjit/files/libjit-0.1.2-gcc43.patch
parentReadd ~x86-fbsd keyword wrt #184008 (diff)
downloadgentoo-2-03f90bc7dccba09c08b70c65b01ade95026407b6.tar.gz
gentoo-2-03f90bc7dccba09c08b70c65b01ade95026407b6.tar.bz2
gentoo-2-03f90bc7dccba09c08b70c65b01ade95026407b6.zip
Bump to 0.1.2. Fix gcc-4.3 compilation, bug 261136. USE=interpreter works in 0.1.2, fixing bug 197986.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libjit/files/libjit-0.1.2-gcc43.patch')
-rw-r--r--dev-libs/libjit/files/libjit-0.1.2-gcc43.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libjit/files/libjit-0.1.2-gcc43.patch b/dev-libs/libjit/files/libjit-0.1.2-gcc43.patch
new file mode 100644
index 000000000000..e264b38bf2ef
--- /dev/null
+++ b/dev-libs/libjit/files/libjit-0.1.2-gcc43.patch
@@ -0,0 +1,11 @@
+--- libjit-0.1.2.orig/tools/gen-apply.c 2008/11/23 09:15:25 1.20
++++ libjit-0.1.2/tools/gen-apply.c 2009/01/30 19:46:01 1.21
+@@ -959,7 +959,7 @@
+ void run_detect_struct_##n(void) \
+ { \
+ jit_nint *args; \
+- jit_nint stack[1]; \
++ volatile jit_nint stack[1]; \
+ jit_nint buffer[64 / sizeof(jit_nint)]; \
+ void *apply_return; \
+ jit_builtin_apply_args(jit_nint *, args); \