aboutsummaryrefslogtreecommitdiff
path: root/games/mupen64plus/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch
blob: babbd793148311e2cc3ca22ad683b529249774c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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