summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/files/3.2.1/gcc32-libjava-x86_64-biarch-sigaction.patch')
-rw-r--r--sys-devel/gcc/files/3.2.1/gcc32-libjava-x86_64-biarch-sigaction.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/3.2.1/gcc32-libjava-x86_64-biarch-sigaction.patch b/sys-devel/gcc/files/3.2.1/gcc32-libjava-x86_64-biarch-sigaction.patch
new file mode 100644
index 000000000000..016aa11d4494
--- /dev/null
+++ b/sys-devel/gcc/files/3.2.1/gcc32-libjava-x86_64-biarch-sigaction.patch
@@ -0,0 +1,11 @@
+--- gcc-3.2/libjava/include/dwarf2-signal.h.libjava-x86_64-biarch-sigaction 2002-09-20 12:08:46.000000000 -0400
++++ gcc-3.2/libjava/include/dwarf2-signal.h 2002-09-20 13:30:07.000000000 -0400
+@@ -209,7 +209,7 @@ do \
+ while (0)
+ #endif
+ #elif !defined(__ia64__)
+-#if defined(__x86_64__)
++#if defined(__x86_64__) || (defined(__i386__) && !defined(SYS_sigaction))
+ #define SYS_sigaction SYS_rt_sigaction
+ #endif
+ #define INIT_SEGV \