openbsd-ports/lang/gcc/4.0/patches/patch-gcc_tree-mudflap_c
espie 18925bc515 basic ports for gcc 3.4 and gcc 4.0, restructured.
this should more or less compile and run tests on i386, but is not
guaranteed to do anything more yet...
2004-09-23 22:13:31 +00:00

13 lines
458 B
Plaintext

$OpenBSD: patch-gcc_tree-mudflap_c,v 1.1.1.1 2004/09/23 22:13:31 espie Exp $
--- gcc/tree-mudflap.c.orig Tue Sep 14 08:50:49 2004
+++ gcc/tree-mudflap.c Tue Sep 14 08:51:00 2004
@@ -232,7 +232,7 @@ mf_file_function_line_tree (location_t l
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);