openbsd-ports/lang/gcc/4.1/patches/patch-gcc_tree_c
espie b2737550c0 post-release version.
disable mudflap for now, as it is not compiling for us.
2006-03-05 22:11:15 +00:00

18 lines
801 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.8 2006/03/05 22:11:15 espie Exp $
--- gcc/tree.c.orig Sun Jan 29 23:24:10 2006
+++ gcc/tree.c Sat Mar 4 14:34:46 2006
@@ -6479,11 +6479,11 @@ build_common_builtin_nodes (void)
*q = TOLOWER (*p);
*q = '\0';
- built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", NULL);
+ built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", (void *)0);
local_define_builtin (built_in_names[mcode], ftype, mcode,
built_in_names[mcode], ECF_CONST | ECF_NOTHROW);
- built_in_names[dcode] = concat ("__div", mode_name_buf, "3", NULL);
+ built_in_names[dcode] = concat ("__div", mode_name_buf, "3", (void *)0);
local_define_builtin (built_in_names[dcode], ftype, dcode,
built_in_names[dcode], ECF_CONST | ECF_NOTHROW);
}