$OpenBSD: patch-gcc_diagnostic_c,v 1.3 2006/03/05 22:11:15 espie Exp $
--- gcc/diagnostic.c.orig	Fri Nov  4 00:08:18 2005
+++ gcc/diagnostic.c	Sat Mar  4 14:34:46 2006
@@ -358,7 +358,7 @@ diagnostic_report_diagnostic (diagnostic
       if (context->show_option_requested && diagnostic->option_index)
 	diagnostic->message.format_spec
 	  = ACONCAT ((diagnostic->message.format_spec,
-		      " [", cl_options[diagnostic->option_index].opt_text, "]", NULL));
+		      " [", cl_options[diagnostic->option_index].opt_text, "]", (char *)0));
 
       diagnostic->message.locus = &diagnostic->location;
       pp_format (context->printer, &diagnostic->message);
