$OpenBSD: patch-gcc_cp_decl2_c,v 1.1.1.1 2006/07/31 09:50:53 espie Exp $
--- gcc/cp/decl2.c.orig	Sat Jul 15 16:44:48 2006
+++ gcc/cp/decl2.c	Sun Jul 23 11:24:02 2006
@@ -2983,7 +2983,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);
