From ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Feb 2020 18:01:47 +0000 Subject: gentoo (leap year) resync : 29.02.2020 --- ...mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch (limited to 'games-emulation/mupen64plus-core/files') diff --git a/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch b/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch new file mode 100644 index 000000000000..cfc7d5a9fb49 --- /dev/null +++ b/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch @@ -0,0 +1,20 @@ +--- a/src/device/r4300/idec.h ++++ b/src/device/r4300/idec.h +@@ -82,6 +82,6 @@ + + #define IDEC_U53(r4300, iw, u53, u5) (void*)(((char*)(r4300)) + idec_u53((iw), (u53), (u5))) + +-const char* g_r4300_opcodes[R4300_OPCODES_COUNT]; ++extern const char* g_r4300_opcodes[R4300_OPCODES_COUNT]; + + #endif +--- a/src/main/workqueue.h ++++ b/src/main/workqueue.h +@@ -27,7 +27,6 @@ + + struct work_struct; + +-struct work_struct *work; + typedef void (*work_func_t)(struct work_struct *work); + struct work_struct { + work_func_t func; -- cgit v1.2.3