openbsd-ports/lang/gcc/4.1/patches/patch-gcc_cp_call_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

22 lines
808 B
Plaintext

$OpenBSD: patch-gcc_cp_call_c,v 1.5 2006/03/05 22:11:15 espie Exp $
--- gcc/cp/call.c.orig Tue Jan 24 22:38:56 2006
+++ gcc/cp/call.c Sat Mar 4 14:34:45 2006
@@ -5208,7 +5208,7 @@ name_as_c_string (tree name, tree type,
|| name == base_dtor_identifier
|| name == deleting_dtor_identifier)
{
- pretty_name = concat ("~", pretty_name, NULL);
+ pretty_name = concat ("~", pretty_name, (void *)0);
/* Remember that we need to free the memory allocated. */
*free_p = true;
}
@@ -5218,7 +5218,7 @@ name_as_c_string (tree name, tree type,
pretty_name = concat ("operator ",
type_as_string (TREE_TYPE (name),
TFF_PLAIN_IDENTIFIER),
- NULL);
+ (void *)0);
/* Remember that we need to free the memory allocated. */
*free_p = true;
}