Date: Thu, 3 Sep 2020 14:31:51 +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: r547457 - head/games/libretro-cap32/files Message-ID: <202009031431.083EVpQj059042@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Thu Sep 3 14:31:51 2020 New Revision: 547457 URL: https://svnweb.freebsd.org/changeset/ports/547457 Log: Fix build with -fno-common Added: head/games/libretro-cap32/files/ head/games/libretro-cap32/files/patch-libretro_retro__events.c (contents, props changed) head/games/libretro-cap32/files/patch-libretro_retro__events.h (contents, props changed) Added: head/games/libretro-cap32/files/patch-libretro_retro__events.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libretro-cap32/files/patch-libretro_retro__events.c Thu Sep 3 14:31:51 2020 (r547457) @@ -0,0 +1,11 @@ +--- libretro/retro_events.c.orig 2020-04-17 23:23:41 UTC ++++ libretro/retro_events.c +@@ -56,6 +56,8 @@ const uint8_t bit_values[8] = {0x01, 0x02, 0x04, 0x08, + #define MAX_BUTTONS 14 + #define MAX_PADCFG 4 + ++bool (*ev_events)(void); ++ + static uint8_t keyboard_translation[MAX_KEYSYMS]; + unsigned int last_input[PORTS_NUMBER] = {0,0}; + uint32_t padnum = 0; Added: head/games/libretro-cap32/files/patch-libretro_retro__events.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libretro-cap32/files/patch-libretro_retro__events.h Thu Sep 3 14:31:51 2020 (r547457) @@ -0,0 +1,11 @@ +--- libretro/retro_events.h.orig 2020-04-17 23:23:41 UTC ++++ libretro/retro_events.h +@@ -154,7 +154,7 @@ typedef struct { + #define JOY_EVENT_ID_Y 1 + + void ev_joysticks(); +-bool (*ev_events)(void); ++extern bool (*ev_events)(void); + void ev_combo_set(unsigned btn); + void ev_init(); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009031431.083EVpQj059042>