diff options
Diffstat (limited to 'games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch')
-rw-r--r-- | games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch new file mode 100644 index 000000000000..4cc9bb5be02c --- /dev/null +++ b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-no-common.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/706880 +--- a/src/editor.c ++++ b/src/editor.c +@@ -24,7 +24,7 @@ + #include "common.h" + #include "proto.h" + +-char map[MAP_YSIZE][MAP_XSIZE]; ++extern char map[MAP_YSIZE][MAP_XSIZE]; + int lock; + int last_obj; + +--- a/src/frame.c ++++ b/src/frame.c +@@ -26,7 +26,7 @@ void bail(char *message); + void sigint_handler(); + void sigwinch_handler(); + +-int need_refresh; ++extern int need_refresh; + + void curses_start(void) + { |