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
541 B
Plaintext
13 lines
541 B
Plaintext
$OpenBSD: patch-gcc_coverage_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
|
|
--- gcc/coverage.c.orig Wed Jun 21 23:27:19 2006
|
|
+++ gcc/coverage.c Mon Jun 14 19:23:04 2010
|
|
@@ -807,7 +807,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);
|