summaryrefslogtreecommitdiff
path: root/games-puzzle/wmpuzzle/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /games-puzzle/wmpuzzle/files
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'games-puzzle/wmpuzzle/files')
-rw-r--r--games-puzzle/wmpuzzle/files/wmpuzzle-0.5.2-gcc-10.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.2-gcc-10.patch b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.2-gcc-10.patch
new file mode 100644
index 000000000000..25b98e1dfc50
--- /dev/null
+++ b/games-puzzle/wmpuzzle/files/wmpuzzle-0.5.2-gcc-10.patch
@@ -0,0 +1,24 @@
+diff -Naur src.orig/wmgeneral.h src/wmgeneral.h
+--- src.orig/wmgeneral.h 2002-10-19 11:33:41.000000000 +0200
++++ src/wmgeneral.h 2020-03-01 16:22:30.891485480 +0100
+@@ -36,7 +36,7 @@
+ /* Global variable */
+ /*******************/
+
+-Display *display;
++extern Display *display;
+
+ /***********************/
+ /* Function Prototypes */
+diff -Naur src.orig/wmpuzzle.c src/wmpuzzle.c
+--- src.orig/wmpuzzle.c 2013-06-27 20:42:26.000000000 +0200
++++ src/wmpuzzle.c 2020-03-01 16:22:28.716484905 +0100
+@@ -41,6 +41,8 @@
+ int blank = 15,
+ puzzle[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
+
++Display *display;
++
+ int main(int argc, char *argv[])
+ {
+ int n,