ports/lang/bootgcc/patches/patch-gcc_go_go-lang_c

17 lines
360 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: gcc/go/go-lang.c
--- gcc/go/go-lang.c.orig
+++ gcc/go/go-lang.c
@@ -570,6 +570,12 @@ go_localize_identifier (const char *ident)
return identifier_to_locale (ident);
}
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+ return NULL;
+}
+
#undef LANG_HOOKS_NAME
#undef LANG_HOOKS_INIT
#undef LANG_HOOKS_OPTION_LANG_MASK