pkgsrc/lang/gcc48/patches/patch-gcc_java_lang.c
obache 24efdc1fe4 Bump PKGREVISION.
* Fixes regressions, revive parts removed at "Fix build under OpenBSD/amd64 5.5"
* Drop default behaviour changes and local features from OpenBSD ports,
  it break other platforms, at least, NetBSD-6.0/i386.
* Remove needless patches after "Restore monolithic gcc48 and gcc48-libs".
2014-11-28 09:57:32 +00:00

17 lines
392 B
C

$NetBSD: patch-gcc_java_lang.c,v 1.2 2014/11/28 09:57:32 obache Exp $
--- gcc/java/lang.c.orig 2013-01-10 20:38:27.000000000 +0000
+++ gcc/java/lang.c
@@ -920,4 +920,12 @@ java_eh_personality (void)
return java_eh_personality_decl;
}
+#ifdef __OpenBSD__
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+ return NULL;
+}
+#endif
+
#include "gt-java-lang.h"