openbsd-ports/lang/gcc/4.2/patches/patch-gcc_cp_decl2_c
espie ced95bccdd move to gcc 4.2.4, with a lot of work from kurt@ as well.
Doesn't build on alpha yet, but should be on the way...
2009-04-16 18:36:48 +00:00

13 lines
525 B
Plaintext

$OpenBSD: patch-gcc_cp_decl2_c,v 1.7 2009/04/16 18:36:48 espie Exp $
--- gcc/cp/decl2.c.orig Tue Feb 12 07:37:34 2008
+++ gcc/cp/decl2.c Tue Apr 7 19:38:59 2009
@@ -3018,7 +3018,7 @@ build_java_method_aliases (void)
oid = DECL_ASSEMBLER_NAME (fndecl);
oname = IDENTIFIER_POINTER (oid);
gcc_assert (oname[0] == '_' && oname[1] == 'Z');
- nname = ACONCAT (("_ZGA", oname+2, NULL));
+ nname = ACONCAT (("_ZGA", oname+2, (char *)0));
nid = get_identifier (nname);
alias = make_alias_for (fndecl, nid);