summaryrefslogtreecommitdiff
path: root/games-util/etswitch/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-util/etswitch/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-util/etswitch/files')
-rw-r--r--games-util/etswitch/files/etswitch-0.1.14-fno-common.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch b/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch
new file mode 100644
index 000000000000..f0bdebcb6a76
--- /dev/null
+++ b/games-util/etswitch/files/etswitch-0.1.14-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/src/read_wid.c
++++ b/src/read_wid.c
+@@ -62,6 +62,8 @@
+ #include <errno.h>
+ extern int errno;
+
++wid_info_struct *wid;
++
+ /*
+ will try and read the wid file and malloc the game struct
+ if wid file is missing it will read the internal one
+--- a/src/read_wid.h
++++ b/src/read_wid.h
+@@ -38,7 +38,7 @@
+ char *first_struct;
+ } wid_info_struct;
+
+-wid_info_struct *wid; /* global wid array */
++extern wid_info_struct *wid; /* global wid array */
+
+
+