openbsd-ports/lang/gcc/4.0/patches/patch-gcc_objc_objc-act_c
espie 889110dd72 update to more recent snapshot.
(synch patches using update-patches, no functional changes)
2005-01-03 16:23:48 +00:00

13 lines
613 B
Plaintext

$OpenBSD: patch-gcc_objc_objc-act_c,v 1.3 2005/01/03 16:23:48 espie Exp $
--- gcc/objc/objc-act.c.orig Sun Jan 2 08:52:28 2005
+++ gcc/objc/objc-act.c Mon Jan 3 15:47:20 2005
@@ -545,7 +545,7 @@ objc_init (void)
/* If gen_declaration desired, open the output file. */
if (flag_gen_declaration)
{
- register char * const dumpname = concat (dump_base_name, ".decl", NULL);
+ register char * const dumpname = concat (dump_base_name, ".decl", (void *)0);
gen_declaration_file = fopen (dumpname, "w");
if (gen_declaration_file == 0)
fatal_error ("can't open %s: %m", dumpname);