openbsd-ports/lang/llvm-gcc4/patches/patch-gcc_dbxout_c

13 lines
474 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_dbxout_c,v 1.1.1.1 2009/06/22 22:37:32 sthen Exp $
--- gcc/dbxout.c.orig Tue Sep 2 23:20:12 2008
+++ gcc/dbxout.c Mon Jun 22 00:53:59 2009
@@ -1136,7 +1136,7 @@ dbxout_init (const char *input_file_name)
if (cwd[0] == '\0')
cwd = "/";
else if (!IS_DIR_SEPARATOR (cwd[strlen (cwd) - 1]))
- cwd = concat (cwd, "/", NULL);
+ cwd = concat (cwd, "/", (void *)0);
}
#ifdef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
/* APPLE LOCAL ss2 */