summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mozart/files/mozart-1.3.2-gcc4.patch')
-rw-r--r--dev-lang/mozart/files/mozart-1.3.2-gcc4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch b/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch
index ed55f26fc129..c769845341bd 100644
--- a/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch
+++ b/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch
@@ -1,3 +1,14 @@
+diff -ur mozart-1.3.2.20060615.orig/contrib/ri/sigfpe.c mozart-1.3.2.20060615/contrib/ri/sigfpe.c
+--- mozart-1.3.2.20060615.orig/contrib/ri/sigfpe.c 2006-03-21 20:36:08.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/ri/sigfpe.c 2007-02-17 12:46:25.000000000 +1300
+@@ -1,6 +1,7 @@
+ #include "sigfpe.h"
+ #include "ieeefp.h"
+ #include <stdio.h>
++#include <stdlib.h>
+
+ static void sigfpe_abort(int i, siginfo_t *info, ucontext_mozart_t *fpu_state)
+ {
diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c
--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c 1998-12-17 02:55:09.000000000 +1300
+++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c 2007-02-11 20:51:52.000000000 +1300