summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-01-29 18:49:53 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-01-29 19:26:59 +0100
commit5749ea57c106309a71d79ad589e1e964b0953a07 (patch)
treee3a632bb3518058aca25f19ba2422b8ae8267c6e /x11-plugins/wmpop3lb/files
parentx11-plugins/wmxres: fix build with -fno-common (diff)
downloadgentoo-5749ea57c106309a71d79ad589e1e964b0953a07.tar.gz
gentoo-5749ea57c106309a71d79ad589e1e964b0953a07.tar.bz2
gentoo-5749ea57c106309a71d79ad589e1e964b0953a07.zip
x11-plugins/wmpop3lb: fix build with -fno-common
Closes: https://bugs.gentoo.org/706550 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmpop3lb/files')
-rw-r--r--x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch
new file mode 100644
index 000000000000..5beb41552562
--- /dev/null
+++ b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch
@@ -0,0 +1,21 @@
+--- a/wmgeneral/wmgeneral.c
++++ b/wmgeneral/wmgeneral.c
+@@ -45,6 +45,7 @@ Window iconwin, win;
+ GC NormalGC;
+ XpmIcon wmgen;
+ Pixmap pixmask;
++Display *display;
+
+ /*****************/
+ /* Mouse Regions */
+--- a/wmgeneral/wmgeneral.h
++++ b/wmgeneral/wmgeneral.h
+@@ -21,7 +21,7 @@ typedef struct {
+ /* Global variable */
+ /*******************/
+
+-Display *display;
++extern Display *display;
+
+ /***********************/
+ /* Function Prototypes */