svn commit: r547457 - head/games/libretro-cap32/files
Stefan Eßer
se at FreeBSD.org
Thu Sep 3 14:31:52 UTC 2020
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();
+
More information about the svn-ports-head
mailing list