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 28EAC138350 for ; Mon, 3 Feb 2020 23:07:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DE0BE0835; Mon, 3 Feb 2020 23:07:45 +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 0F586E0835 for ; Mon, 3 Feb 2020 23:07:45 +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 75B2234E37D for ; Mon, 3 Feb 2020 23:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F41BC8F for ; Mon, 3 Feb 2020 23:07:41 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1580771248.8f7e2ac82fc5a1847c132057fb7de1a996d66c76.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch sys-libs/gpm/gpm-1.20.7-r2.ebuild X-VCS-Directories: sys-libs/gpm/files/ sys-libs/gpm/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8f7e2ac82fc5a1847c132057fb7de1a996d66c76 X-VCS-Branch: master Date: Mon, 3 Feb 2020 23:07:41 +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: 9fd88a52-df6d-44f7-8932-9571ff92c53c X-Archives-Hash: d495e62a0cd2eca92acfe9b49eb25b72 commit: 8f7e2ac82fc5a1847c132057fb7de1a996d66c76 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Feb 3 22:55:06 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Feb 3 23:07:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e2ac8 sys-libs/gpm: tweak for gcc-10, bug #705878 Closes: https://bugs.gentoo.org/705878 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch | 14 ++++++++++++++ sys-libs/gpm/gpm-1.20.7-r2.ebuild | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch new file mode 100644 index 00000000000..a55c44fae55 --- /dev/null +++ b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/705878 +https://github.com/telmich/gpm/pull/37 + +--- a/src/headers/daemon.h ++++ b/src/headers/daemon.h +@@ -180,7 +180,7 @@ extern struct mouse_features mouse_table[3], + extern Gpm_Type mice[]; + extern Gpm_Type *repeated_type; + +-time_t last_selection_time; ++extern time_t last_selection_time; + + + diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild index c550f3ee116..df485bea459 100644 --- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild +++ b/sys-libs/gpm/gpm-1.20.7-r2.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 # emacs support disabled due to #99533 #335900 @@ -35,6 +35,9 @@ src_prepare() { # bug #629774 epatch "${FILESDIR}"/${P}-glibc-2.26.patch + # bug #705878 + epatch "${FILESDIR}"/${P}-gcc-10.patch + epatch_user # fix ABI values