6f0b523996
meant to be used on archs that have gcc4 in base, this doesn't require a full gcc build from ports, and provides libgfortran as a subpackage. idea from espie some months ago.
13 lines
676 B
Plaintext
13 lines
676 B
Plaintext
$OpenBSD: patch-gcc_diagnostic_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
|
|
--- gcc/diagnostic.c.orig Wed Mar 22 20:36:22 2006
|
|
+++ gcc/diagnostic.c Mon Jun 14 19:23:04 2010
|
|
@@ -398,7 +398,7 @@ diagnostic_report_diagnostic (diagnostic_context *cont
|
|
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);
|