openbsd-ports/lang/gfortran/patches/patch-gcc_tree-mudflap_c
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
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.
2010-10-10 17:39:06 +00:00

13 lines
467 B
Plaintext

$OpenBSD: patch-gcc_tree-mudflap_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/tree-mudflap.c.orig Mon Oct 9 15:58:10 2006
+++ gcc/tree-mudflap.c Mon Jun 14 19:23:04 2010
@@ -236,7 +236,7 @@ mf_file_function_line_tree (location_t location)
else
op = name = cp = "";
- string = concat (file, colon, line, op, name, cp, NULL);
+ string = concat (file, colon, line, op, name, cp, (void *)0);
result = mf_build_string (string);
free (string);