diff options
Diffstat (limited to 'x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch')
-rw-r--r-- | x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch b/x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch new file mode 100644 index 000000000000..3ed8b82f29e8 --- /dev/null +++ b/x11-plugins/wmwork/files/wmwork-0.2.5-gcc-10.patch @@ -0,0 +1,21 @@ +--- a/wmgeneral.c ++++ b/wmgeneral.c +@@ -45,6 +45,7 @@ Window iconwin, win; + GC NormalGC; + XpmIcon wmgen; + Pixmap pixmask; ++Display *display; + + /*****************/ + /* Mouse Regions */ +--- a/wmgeneral.h ++++ b/wmgeneral.h +@@ -21,7 +21,7 @@ typedef struct { + /* Global variable */ + /*******************/ + +-Display *display; ++extern Display *display; + + /***********************/ + /* Function Prototypes */ |