openbsd-ports/lang/gcc/4.7/patches/patch-gcc_go_go-lang_c
pascal 3c23183a62 Update to gcc 4.7.1.
- add some fixes for hppa, though it still isn't ready for prime time yet.
  Chances are it will only work with -O1, pending testing.  Many optimisations
  lead to broken code and segfaults on hppa.  Joint work with jsg@.
- fix libstdc++ upgrade path
- bring in recent fixes for execinfo/magic.h from 4.6

ok espie@
2012-07-01 18:56:45 +00:00

17 lines
430 B
Plaintext

$OpenBSD: patch-gcc_go_go-lang_c,v 1.2 2012/07/01 18:56:45 pascal Exp $
--- gcc/go/go-lang.c.orig Thu May 10 01:30:17 2012
+++ gcc/go/go-lang.c Wed Jun 20 14:39:12 2012
@@ -450,6 +450,12 @@ go_localize_identifier (const char *ident)
return identifier_to_locale (ident);
}
+const char *
+fname_as_string(int pretty_p)
+{
+ return NULL;
+}
+
#undef LANG_HOOKS_NAME
#undef LANG_HOOKS_INIT
#undef LANG_HOOKS_OPTION_LANG_MASK