]> git.pld-linux.org Git - packages/crossm68k-gcc.git/blobdiff - crossm68k-gcc-sigset.patch
- for crossm68k-gcc-2.95.3
[packages/crossm68k-gcc.git] / crossm68k-gcc-sigset.patch
diff --git a/crossm68k-gcc-sigset.patch b/crossm68k-gcc-sigset.patch
new file mode 100644 (file)
index 0000000..026bd78
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# This patch can be found at http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
+#
+--- gcc-2.95.3/libio/gen-params%       Fri Nov 30 21:49:20 2001
++++ gcc-2.95.3/libio/gen-params        Fri Nov 30 21:49:20 2001
+@@ -378,6 +378,7 @@
+ [ -z "$uint32_t" ] && uint32_t="unsigned $int32_t"
+ cat <<!EOF!
++#include <signal.h> /* fix for __sigset_t undefined problem */
+ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+ typedef          int   ${macro_prefix}int8_t __attribute__((__mode__(__QI__)));
+ typedef unsigned int  ${macro_prefix}uint8_t __attribute__((__mode__(__QI__)));
This page took 0.097626 seconds and 4 git commands to generate.