From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F88C138351 for ; Wed, 29 Jan 2020 18:28:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C9DE08D9; Wed, 29 Jan 2020 18:28:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9C9BE0928 for ; Wed, 29 Jan 2020 18:28:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B4C34E4D0 for ; Wed, 29 Jan 2020 18:28:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9A37E5 for ; Wed, 29 Jan 2020 18:28:06 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1580322419.5749ea57c106309a71d79ad589e1e964b0953a07.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmpop3lb/files/, x11-plugins/wmpop3lb/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild X-VCS-Directories: x11-plugins/wmpop3lb/ x11-plugins/wmpop3lb/files/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 5749ea57c106309a71d79ad589e1e964b0953a07 X-VCS-Branch: master Date: Wed, 29 Jan 2020 18:28:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40ac5c14-9cd0-41fb-ad78-bf67d2fb975e X-Archives-Hash: 1906d975b90b1698352824d6c8b0701a commit: 5749ea57c106309a71d79ad589e1e964b0953a07 Author: Bernard Cafarelli gentoo org> AuthorDate: Wed Jan 29 17:49:53 2020 +0000 Commit: Bernard Cafarelli gentoo 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 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