$OpenBSD: patch-gcc_cp_decl2_c,v 1.4 2006/03/05 22:11:15 espie Exp $
--- gcc/cp/decl2.c.orig	Sat Feb 18 09:37:34 2006
+++ gcc/cp/decl2.c	Sat Mar  4 14:34:45 2006
@@ -2767,7 +2767,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);
