$OpenBSD: patch-gcc_dbxout_c,v 1.5 2005/10/20 23:28:02 espie Exp $
--- gcc/dbxout.c.orig	Sat Sep 10 23:11:30 2005
+++ gcc/dbxout.c	Tue Oct  4 02:01:17 2005
@@ -1002,7 +1002,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
       DBX_OUTPUT_MAIN_SOURCE_DIRECTORY (asm_out_file, cwd);
