$OpenBSD: patch-gcc_cp_decl2_c,v 1.6 2007/03/20 10:48:52 espie Exp $
--- gcc/cp/decl2.c.orig	Wed Dec  6 18:41:29 2006
+++ gcc/cp/decl2.c	Sun Mar 18 23:58:43 2007
@@ -3010,7 +3010,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);
