forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/706950 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert <[email protected]>
- Loading branch information
1 parent
fdcfeb1
commit 5a362eb
Showing
2 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
games-util/etswitch/files/etswitch-0.1.14-fno-common.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ | ||
|
||
|
||
|