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 334B0138350 for ; Tue, 18 Feb 2020 20:46:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55E90E087D; Tue, 18 Feb 2020 20:46:48 +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 26076E087D for ; Tue, 18 Feb 2020 20:46:48 +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 B0B3A34ED51 for ; Tue, 18 Feb 2020 20:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 659D32B for ; Tue, 18 Feb 2020 20:46:44 +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: <1582058787.d78585ef0dc6ded24811254595ea3741f196bc46.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/cpio/files/, app-arch/cpio/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/cpio/cpio-2.12-r1.ebuild app-arch/cpio/cpio-2.13.ebuild app-arch/cpio/files/cpio-2.12-gcc-10.patch X-VCS-Directories: app-arch/cpio/ app-arch/cpio/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: d78585ef0dc6ded24811254595ea3741f196bc46 X-VCS-Branch: master Date: Tue, 18 Feb 2020 20:46:44 +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: ac7c234a-e9a8-44bb-9690-04f272e93cc4 X-Archives-Hash: 8c8ecf74096108f93c28e8944b971c78 commit: d78585ef0dc6ded24811254595ea3741f196bc46 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Feb 18 20:46:27 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 18 20:46:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78585ef app-arch/cpio: backport tweak for gcc-10, bug #705900 Closes: https://bugs.gentoo.org/705900 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> app-arch/cpio/cpio-2.12-r1.ebuild | 1 + app-arch/cpio/cpio-2.13.ebuild | 3 ++- app-arch/cpio/files/cpio-2.12-gcc-10.patch | 27 +++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/app-arch/cpio/cpio-2.12-r1.ebuild b/app-arch/cpio/cpio-2.12-r1.ebuild index a32dcef968d..2c74b76cbc1 100644 --- a/app-arch/cpio/cpio-2.12-r1.ebuild +++ b/app-arch/cpio/cpio-2.12-r1.ebuild @@ -17,6 +17,7 @@ IUSE="nls" src_prepare() { epatch "${FILESDIR}"/${PN}-2.12-non-gnu-compilers.patch #275295 epatch "${FILESDIR}"/${PN}-2.12-name-overflow.patch #572428 + epatch "${FILESDIR}"/${PN}-2.12-gcc-10.patch #705900 } src_configure() { diff --git a/app-arch/cpio/cpio-2.13.ebuild b/app-arch/cpio/cpio-2.13.ebuild index 30557dbd043..4f5966691a5 100644 --- a/app-arch/cpio/cpio-2.13.ebuild +++ b/app-arch/cpio/cpio-2.13.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=7 @@ -14,6 +14,7 @@ IUSE="nls" PATCHES=( "${FILESDIR}"/${PN}-2.12-non-gnu-compilers.patch #275295 + "${FILESDIR}"/${PN}-2.12-gcc-10.patch #705900 ) src_configure() { diff --git a/app-arch/cpio/files/cpio-2.12-gcc-10.patch b/app-arch/cpio/files/cpio-2.12-gcc-10.patch new file mode 100644 index 00000000000..9c7d7edd88f --- /dev/null +++ b/app-arch/cpio/files/cpio-2.12-gcc-10.patch @@ -0,0 +1,27 @@ +From 641d3f489cf6238bb916368d4ba0d9325a235afb Mon Sep 17 00:00:00 2001 +From: Sergey Poznyakoff +Date: Mon, 20 Jan 2020 07:45:39 +0200 +Subject: Minor fix * src/global.c: Remove superfluous declaration of + program_name + +--- + src/global.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/global.c b/src/global.c +index fb3abe9..acf92bc 100644 +--- a/src/global.c ++++ b/src/global.c +@@ -184,9 +184,6 @@ unsigned int warn_option = 0; + /* Extract to standard output? */ + bool to_stdout_option = false; + +-/* The name this program was run with. */ +-char *program_name; +- + /* A pointer to either lstat or stat, depending on whether + dereferencing of symlinks is done for input files. */ + int (*xstat) (); +-- +cgit v1.2.1 +