diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-02-03 00:18:32 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-02-03 00:23:29 +0100 |
commit | d9ae948f79aedcb2f8fffc080afd8f9a67605881 (patch) | |
tree | 0a27066bc68bddbdb0292fd413dca1931138511a /x11-plugins/wmping/files | |
parent | app-editors/qemacs: remove unused patches (diff) | |
download | gentoo-d9ae948f79aedcb2f8fffc080afd8f9a67605881.tar.gz gentoo-d9ae948f79aedcb2f8fffc080afd8f9a67605881.tar.bz2 gentoo-d9ae948f79aedcb2f8fffc080afd8f9a67605881.zip |
x11-plugins/wmping: fix build with -fno-common
Closes: https://bugs.gentoo.org/706920
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmping/files')
-rw-r--r-- | x11-plugins/wmping/files/wmping-0.2.1-gcc-10.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-plugins/wmping/files/wmping-0.2.1-gcc-10.patch b/x11-plugins/wmping/files/wmping-0.2.1-gcc-10.patch new file mode 100644 index 000000000000..3ed8b82f29e8 --- /dev/null +++ b/x11-plugins/wmping/files/wmping-0.2.1-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 */ |