From 33bd5a1471ad32f607d7b90a9207de21fd4019f6 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Wed, 29 Jan 2020 18:47:33 +0100 Subject: x11-plugins/wmxres: fix build with -fno-common Thanks slyfox for patch Closes: https://bugs.gentoo.org/706444 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli --- x11-plugins/wmxres/files/wmxres-1.2-gcc-10.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 x11-plugins/wmxres/files/wmxres-1.2-gcc-10.patch (limited to 'x11-plugins/wmxres/files') diff --git a/x11-plugins/wmxres/files/wmxres-1.2-gcc-10.patch b/x11-plugins/wmxres/files/wmxres-1.2-gcc-10.patch new file mode 100644 index 000000000000..5beb41552562 --- /dev/null +++ b/x11-plugins/wmxres/files/wmxres-1.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 */ -- cgit v1.2.3-65-gdbad