slackbuilds_ponce/games/mupen64plus/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch
M.Dinslage 789c445269 games/mupen64plus: Updated for version 2.5.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2021-08-01 04:20:54 -05:00

24 lines
1.2 KiB
Diff

diff -up mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/main/workqueue.h.orig mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/main/workqueue.h
--- mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/main/workqueue.h.orig 2021-07-28 23:12:42.573699463 -0500
+++ mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/main/workqueue.h 2021-07-28 23:13:30.238695477 -0500
@@ -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;
diff -up mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/device/r4300/idec.h.orig mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/device/r4300/idec.h
--- mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/device/r4300/idec.h.orig 2021-07-28 23:11:03.427914223 -0500
+++ mupen64plus-bundle-src-2.5.9/source/mupen64plus-core/src/device/r4300/idec.h 2021-07-28 23:12:13.275701913 -0500
@@ -82,6 +82,6 @@ size_t idec_u53(uint32_t iw, uint8_t u53
#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