Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 14:20:13 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547456 - head/games/libretro-fuse/files
Message-ID:  <202009031420.083EKD2r048938@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009031420.083EKD2r048938>