diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-06-13 10:48:43 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-06-13 11:04:23 +0200 |
commit | f30fdf662713ff215ddacbcf617471cf4a55f503 (patch) | |
tree | 23f7b23469980f2fdc270ddbcbd182fe4a0d4d6e /x11-plugins/wmapm/files | |
parent | x11-wm/windowmaker: use https (diff) | |
download | gentoo-f30fdf662713ff215ddacbcf617471cf4a55f503.tar.gz gentoo-f30fdf662713ff215ddacbcf617471cf4a55f503.tar.bz2 gentoo-f30fdf662713ff215ddacbcf617471cf4a55f503.zip |
x11-plugins/wmapm: fix build with -fno-common
Closes: https://bugs.gentoo.org/708254
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmapm/files')
-rw-r--r-- | x11-plugins/wmapm/files/wmapm-3.1-fno-common.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-plugins/wmapm/files/wmapm-3.1-fno-common.patch b/x11-plugins/wmapm/files/wmapm-3.1-fno-common.patch new file mode 100644 index 000000000000..74b8cb1c9c91 --- /dev/null +++ b/x11-plugins/wmapm/files/wmapm-3.1-fno-common.patch @@ -0,0 +1,23 @@ +diff -Naur wmapm-3.1.orig/wmgeneral/wmgeneral.c wmapm-3.1/wmgeneral/wmgeneral.c +--- wmapm-3.1.orig/wmgeneral/wmgeneral.c 1998-08-04 03:49:00.000000000 +0200 ++++ wmapm-3.1/wmgeneral/wmgeneral.c 2020-06-13 10:46:38.921354685 +0200 +@@ -50,6 +50,7 @@ + GC NormalGC; + XpmIcon wmgen; + Pixmap pixmask; ++Display *display; + + /*****************/ + /* Mouse Regions */ +diff -Naur wmapm-3.1.orig/wmgeneral/wmgeneral.h wmapm-3.1/wmgeneral/wmgeneral.h +--- wmapm-3.1.orig/wmgeneral/wmgeneral.h 1998-08-04 03:49:00.000000000 +0200 ++++ wmapm-3.1/wmgeneral/wmgeneral.h 2020-06-13 10:46:31.276348472 +0200 +@@ -28,7 +28,7 @@ + /* Global variable */ + /*******************/ + +-Display *display; ++extern Display *display; + + /***********************/ + /* Function Prototypes */ |