openbsd-ports/lang/gfortran/patches/patch-gcc_tree-dump_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
470 B
Plaintext

$OpenBSD: patch-gcc_tree-dump_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/tree-dump.c.orig Thu Mar 16 20:47:19 2006
+++ gcc/tree-dump.c Mon Jun 14 19:23:04 2010
@@ -867,7 +867,7 @@ get_dump_file_name (enum tree_dump_index phase)
dump_id[0] = '\0';
}
- return concat (dump_base_name, dump_id, dfi->suffix, NULL);
+ return concat (dump_base_name, dump_id, dfi->suffix, (void *)0);
}
/* Begin a tree dump for PHASE. Stores any user supplied flag in