svn commit: r547456 - head/games/libretro-fuse/files
Stefan Eßer
se at FreeBSD.org
Thu Sep 3 14:20:13 UTC 2020
Author: se
Date: Thu Sep 3 14:20:12 2020
New Revision: 547456
URL: https://svnweb.freebsd.org/changeset/ports/547456
Log:
Fix build with -fno-common
Added:
head/games/libretro-fuse/files/
head/games/libretro-fuse/files/patch-fuse_ui_widget_widget.c (contents, props changed)
head/games/libretro-fuse/files/patch-src_libretro.c (contents, props changed)
Added: head/games/libretro-fuse/files/patch-fuse_ui_widget_widget.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/libretro-fuse/files/patch-fuse_ui_widget_widget.c Thu Sep 3 14:20:12 2020 (r547456)
@@ -0,0 +1,11 @@
+--- fuse/ui/widget/widget.c.orig 2020-02-07 11:00:48 UTC
++++ fuse/ui/widget/widget.c
+@@ -93,7 +93,7 @@ typedef struct widget_recurse_t {
+ static widget_recurse_t widget_return[10]; /* The stack to recurse on */
+
+ /* The settings used whilst playing with an options dialog box */
+-settings_info widget_options_settings;
++extern settings_info widget_options_settings;
+
+ static int widget_read_font( const char *filename )
+ {
Added: head/games/libretro-fuse/files/patch-src_libretro.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/libretro-fuse/files/patch-src_libretro.c Thu Sep 3 14:20:12 2020 (r547456)
@@ -0,0 +1,11 @@
+--- src/libretro.c.orig 2020-02-07 11:00:48 UTC
++++ src/libretro.c
+@@ -476,7 +476,7 @@ static int get_joystick(unsigned device)
+ #ifdef GIT_VERSION
+ static char version[] = PACKAGE_VERSION " " GIT_VERSION;
+ #else
+-const char *fuse_githash;
++extern const char *fuse_githash;
+ static char version[] = PACKAGE_VERSION " .......";
+ #endif
+
More information about the svn-ports-head
mailing list