* [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmpop3lb/files/, x11-plugins/wmpop3lb/
@ 2020-01-29 18:28 99% Bernard Cafarelli
0 siblings, 0 replies; 1+ results
From: Bernard Cafarelli @ 2020-01-29 18:28 UTC (permalink / raw
To: gentoo-commits
commit: 5749ea57c106309a71d79ad589e1e964b0953a07
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 17:49:53 2020 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 18:26:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5749ea57
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 <AT> gentoo.org>
.../wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch | 21 +++++++++++++++++++++
x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild | 5 +++--
2 files changed, 24 insertions(+), 2 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 00000000000..5beb4155256
--- /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 */
diff --git a/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
index 99e7ab4db58..05a951236c0 100644
--- a/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
+++ b/x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,7 +20,8 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${P/-}
PATCHES=( "${FILESDIR}"/${P}-fix-RECV-and-try-STAT-if-LAST-wont-work.patch
- "${FILESDIR}"/${P}-list.patch )
+ "${FILESDIR}"/${P}-list.patch
+ "${FILESDIR}"/${P}-gcc-10.patch )
src_prepare() {
#Honour Gentoo CFLAGS
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-29 18:28 99% [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmpop3lb/files/, x11-plugins/wmpop3lb/ Bernard Cafarelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox