openbsd-ports/lang/gcc/4.8/patches/patch-gcc_java_lang_c
pascal 174fb904d7 Import gcc 4.8.
For a full Changelog, see: http://gcc.gnu.org/gcc-4.8/changes.html

Tested by me on amd64, i386 and powerpc and by brad@ on sparc64.

Adds support for -java on powerpc.  -faggressive-loop-optimizations is
disabled by default in the port, and the default debugging format changed
to DWARF2 (instead of 4).

tweaks and ok tobiasu@
2013-04-08 08:20:19 +00:00

15 lines
382 B
Plaintext

$OpenBSD: patch-gcc_java_lang_c,v 1.1.1.1 2013/04/08 08:20:25 pascal Exp $
--- gcc/java/lang.c.orig Thu Jan 10 21:38:27 2013
+++ gcc/java/lang.c Wed Jan 23 22:48:30 2013
@@ -920,4 +920,10 @@ java_eh_personality (void)
return java_eh_personality_decl;
}
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+ return NULL;
+}
+
#include "gt-java-lang.h"