diff --git a/lang/egcs/stable/patches/patch-gcc_config_i386_gas_h b/lang/egcs/stable/patches/patch-gcc_config_i386_gas_h new file mode 100644 index 00000000000..66a05d740b1 --- /dev/null +++ b/lang/egcs/stable/patches/patch-gcc_config_i386_gas_h @@ -0,0 +1,20 @@ +$OpenBSD: patch-gcc_config_i386_gas_h,v 1.1 2001/09/12 22:15:22 espie Exp $ +--- gcc/config/i386/gas.h.orig Tue Sep 11 23:40:24 2001 ++++ gcc/config/i386/gas.h Tue Sep 11 23:41:39 2001 +@@ -150,14 +150,14 @@ Boston, MA 02111-1307, USA. */ + + #undef ASM_GENERATE_INTERNAL_LABEL + #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ +- sprintf ((BUF), ".%s%d", (PREFIX), (NUMBER)) ++ sprintf ((BUF), ".%s%lu", (PREFIX), (unsigned long)(NUMBER)) + + /* This is how to output an internal numbered label where + PREFIX is the class of label and NUM is the number within the class. */ + + #undef ASM_OUTPUT_INTERNAL_LABEL + #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ +- fprintf (FILE, ".%s%d:\n", PREFIX, NUM) ++ fprintf ((FILE), ".%s%lu:\n", (PREFIX), (unsigned long)(NUM)) + + #endif /* NO_UNDERSCORES */ +