You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-plugins/wmmand/files/wmmand-1.3.2-gcc-10.patch

40 lines
1.1 KiB

diff -Naur wmMand-1.3.2.orig/wmgeneral/wmgeneral.c wmMand-1.3.2/wmgeneral/wmgeneral.c
--- wmMand-1.3.2.orig/wmgeneral/wmgeneral.c 2006-10-16 20:56:44.000000000 +0200
+++ wmMand-1.3.2/wmgeneral/wmgeneral.c 2020-01-30 01:48:11.662044413 +0100
@@ -45,6 +45,13 @@
Pixel back_pix, fore_pix;
char *Geometry = "";
Pixmap pixmask;
+Display *display;
+Window *Root;
+int d_depth;
+GC NormalGC;
+XpmIcon wmgen;
+Window iconwin, win;
+
/*****************/
/* Mouse Regions */
diff -Naur wmMand-1.3.2.orig/wmgeneral/wmgeneral.h wmMand-1.3.2/wmgeneral/wmgeneral.h
--- wmMand-1.3.2.orig/wmgeneral/wmgeneral.h 2006-10-16 20:56:44.000000000 +0200
+++ wmMand-1.3.2/wmgeneral/wmgeneral.h 2020-01-30 01:47:43.262040337 +0100
@@ -28,12 +28,12 @@
/* Global variable */
/*******************/
-Display *display;
-Window Root;
-int d_depth;
-GC NormalGC;
-XpmIcon wmgen;
-Window iconwin, win;
+extern Display *display;
+extern Window *Root;
+extern int d_depth;
+extern GC NormalGC;
+extern XpmIcon wmgen;
+extern Window iconwin, win;
/***********************/