openbsd-ports/lang/gcc/4.6/patches/patch-gcc_java_lang_c
pascal e7f261aa15 Update to gcc 4.6.3.
Also, sync a bit with base gcc:
- disable unsafe builtins
- disable -Wpointer-sign in -Wall
- move -fstrict-aliasing to -O3, disable -fstrict-overflow and
  -fdelete-null-pointer-checks
- enable -Wsystem-headers
- default to march=i486 on i386
- fix crtsavres on powerpc
- sync sparc64 config
- implement -Wvariable-decl, -Wstack-larger-than-N (alpha, amd64, i386, sparc,
  sparc64), -Wtrampolines, -ftrampolines
- default to -fno-ident
- fix -rdynamic by passing -export-dynamic to ld(1)

some bits from Brad, others from me.

tested by myself and jsg@, adastrap now hosted by sthen@ (thanks).

ok jsg@ sthen@
2012-03-31 20:02:03 +00:00

15 lines
350 B
Plaintext

$OpenBSD: patch-gcc_java_lang_c,v 1.2 2012/03/31 20:02:03 pascal Exp $
--- gcc/java/lang.c.orig Mon Jan 23 12:12:01 2012
+++ gcc/java/lang.c Sun Mar 11 19:10:40 2012
@@ -917,4 +917,10 @@ java_eh_personality (void)
return java_eh_personality_decl;
}
+const char *
+fname_as_string(int pretty_p)
+{
+ return NULL;
+}
+
#include "gt-java-lang.h"