summaryrefslogtreecommitdiff
path: root/x11-plugins/wmfrog/files/wmfrog-0.3.1-gcc-10.patch
blob: 9d25464c8eacdc5a923916adbae20e45b86c84db (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
25
26
27
28
29
30
31
32
33
34
35
36
diff -Naur Src.orig/wmFrog.c Src/wmFrog.c
--- Src.orig/wmFrog.c	2010-12-01 19:48:50.000000000 +0100
+++ Src/wmFrog.c	2020-03-01 15:54:30.428083446 +0100
@@ -77,6 +77,12 @@
 char* folder;
 int needsUpdate = 1;
 
+Display		*display;
+Window          Root;
+Window          iconwin, win;
+int             screen; 
+int             DisplayDepth;
+
 /*
  *   main
  */
diff -Naur Src.orig/xutils.h Src/xutils.h
--- Src.orig/xutils.h	2010-08-04 20:28:46.000000000 +0200
+++ Src/xutils.h	2020-03-01 15:54:37.027084834 +0100
@@ -18,11 +18,11 @@
 /*
  *   Global variable
  */
-Display		*display;
-Window          Root;
-Window          iconwin, win;
-int             screen; 
-int             DisplayDepth;
+extern Display		*display;
+extern Window          Root;
+extern Window          iconwin, win;
+extern int             screen; 
+extern int             DisplayDepth;