openbsd-ports/lang/llvm-gcc4/patches/patch-gcc_tree_c
jeremy 8590263c00 Use llvm 2.8 version. Enable build on amd64 since it works now.
Bring library versioning under control and bump the major versions.
Mark as SHARED_ONLY. Remove TODO file as it is no longer needed.

OK @sthen
2011-01-13 00:18:18 +00:00

18 lines
802 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.4 2011/01/13 00:18:18 jeremy Exp $
--- gcc/tree.c.orig Mon May 24 13:19:31 2010
+++ gcc/tree.c Mon Jan 10 12:49:16 2011
@@ -6935,11 +6935,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);
}