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 9298C138350 for ; Mon, 24 Feb 2020 21:47:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6A41E0996; Mon, 24 Feb 2020 21:47:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8F961E0996 for ; Mon, 24 Feb 2020 21:47:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 DE4C334F209 for ; Mon, 24 Feb 2020 21:47:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6E4115F for ; Mon, 24 Feb 2020 21:47:45 +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: <1582580851.11f48eed3b67f62b2a1e2e4dd9b6c37e372ebbd7.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmweather+/files/, x11-plugins/wmweather+/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmweather+/files/wmweather+-2.17-gcc-10.patch x11-plugins/wmweather+/wmweather+-2.17.ebuild X-VCS-Directories: x11-plugins/wmweather+/ x11-plugins/wmweather+/files/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 11f48eed3b67f62b2a1e2e4dd9b6c37e372ebbd7 X-VCS-Branch: master Date: Mon, 24 Feb 2020 21:47:45 +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: 09da9282-64ac-4e4d-ae2a-47000643747a X-Archives-Hash: 4d485c11c88b0f6ab2363b775e831d92 commit: 11f48eed3b67f62b2a1e2e4dd9b6c37e372ebbd7 Author: Bernard Cafarelli gentoo org> AuthorDate: Mon Feb 24 21:16:38 2020 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Mon Feb 24 21:47:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f48eed x11-plugins/wmweather+: fix build with -fno-common Closes: https://bugs.gentoo.org/707800 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli gentoo.org> .../wmweather+/files/wmweather+-2.17-gcc-10.patch | 23 ++++++++++++++++++++++ x11-plugins/wmweather+/wmweather+-2.17.ebuild | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/x11-plugins/wmweather+/files/wmweather+-2.17-gcc-10.patch b/x11-plugins/wmweather+/files/wmweather+-2.17-gcc-10.patch new file mode 100644 index 00000000000..1b26aa3936e --- /dev/null +++ b/x11-plugins/wmweather+/files/wmweather+-2.17-gcc-10.patch @@ -0,0 +1,23 @@ +diff -Naur wmweather+-2.17.orig/wmgeneral/wmgeneral-x11.c wmweather+-2.17/wmgeneral/wmgeneral-x11.c +--- wmweather+-2.17.orig/wmgeneral/wmgeneral-x11.c 2014-02-07 20:17:44.000000000 +0100 ++++ wmweather+-2.17/wmgeneral/wmgeneral-x11.c 2020-02-24 22:11:47.226905019 +0100 +@@ -94,6 +94,7 @@ + GC NormalGC; + GC RedrawGC; + XpmIcon wmgen; ++Display *display; + + /***********************/ + /* Function Prototypes */ +diff -Naur wmweather+-2.17.orig/wmgeneral/wmgeneral-x11.h wmweather+-2.17/wmgeneral/wmgeneral-x11.h +--- wmweather+-2.17.orig/wmgeneral/wmgeneral-x11.h 2014-02-07 20:17:44.000000000 +0100 ++++ wmweather+-2.17/wmgeneral/wmgeneral-x11.h 2020-02-24 22:10:45.233884234 +0100 +@@ -17,7 +17,7 @@ + /* Global variable */ + /*******************/ + +-Display *display; ++extern Display *display; + + /***********************/ + /* Function Prototypes */ diff --git a/x11-plugins/wmweather+/wmweather+-2.17.ebuild b/x11-plugins/wmweather+/wmweather+-2.17.ebuild index 49e62aa1ecf..94bc2487217 100644 --- a/x11-plugins/wmweather+/wmweather+-2.17.ebuild +++ b/x11-plugins/wmweather+/wmweather+-2.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,3 +19,5 @@ DEPEND="dev-libs/libpcre x11-libs/libX11 x11-wm/windowmaker" RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gcc-10.patch )