openbsd-ports/lang/gcc/4.1/patches/patch-gcc_diagnostic_c
2005-08-04 14:51:36 +00:00

13 lines
657 B
Plaintext

$OpenBSD: patch-gcc_diagnostic_c,v 1.2 2005/08/04 14:51:37 espie Exp $
--- gcc/diagnostic.c.orig Fri Jul 1 16:26:18 2005
+++ gcc/diagnostic.c Thu Aug 4 10:54:01 2005
@@ -346,7 +346,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);