openbsd-ports/lang/gcc/4.1/patches/patch-gcc_coverage_c
espie b2737550c0 post-release version.
disable mudflap for now, as it is not compiling for us.
2006-03-05 22:11:15 +00:00

13 lines
536 B
Plaintext

$OpenBSD: patch-gcc_coverage_c,v 1.5 2006/03/05 22:11:15 espie Exp $
--- gcc/coverage.c.orig Mon Oct 31 19:23:44 2005
+++ gcc/coverage.c Sat Mar 4 14:34:45 2006
@@ -813,7 +813,7 @@ build_gcov_info (void)
fields = field;
filename = getpwd ();
filename = (filename && da_file_name[0] != '/'
- ? concat (filename, "/", da_file_name, NULL)
+ ? concat (filename, "/", da_file_name, (void *)0)
: da_file_name);
filename_len = strlen (filename);
filename_string = build_string (filename_len + 1, filename);