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 A492B158041 for ; Mon, 6 Sep 2021 07:18:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 027C5E0830; Mon, 6 Sep 2021 07:18:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D990EE0830 for ; Mon, 6 Sep 2021 07:18:19 +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 B2D79342A6E for ; Mon, 6 Sep 2021 07:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FB5935 for ; Mon, 6 Sep 2021 07:18:17 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1630912687.e4f93d3d9d0608a84aaa8afcafc410a1b705e71a.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/, app-crypt/gpgme/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/gpgme/files/gpgme-1.16.0-glibc-2.34.patch app-crypt/gpgme/gpgme-1.16.0.ebuild X-VCS-Directories: app-crypt/gpgme/files/ app-crypt/gpgme/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: e4f93d3d9d0608a84aaa8afcafc410a1b705e71a X-VCS-Branch: master Date: Mon, 6 Sep 2021 07:18:17 +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: 24ee255d-92c0-4fc9-ba55-5dbd7fbec09f X-Archives-Hash: 2aa4fc9b613407fcf42d9b8ac1d1ae8d commit: e4f93d3d9d0608a84aaa8afcafc410a1b705e71a Author: Lars Wendler gentoo org> AuthorDate: Mon Sep 6 07:17:18 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Sep 6 07:18:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f93d3d Revert "app-crypt/gpgme: backport glibc-2.34 patch" This reverts commit 87834abded7c46005d3e53d0cfc1282c1d03507c. Commit done without maintainer consent. Signed-off-by: Lars Wendler gentoo.org> .../gpgme/files/gpgme-1.16.0-glibc-2.34.patch | 33 ---------------------- app-crypt/gpgme/gpgme-1.16.0.ebuild | 4 --- 2 files changed, 37 deletions(-) diff --git a/app-crypt/gpgme/files/gpgme-1.16.0-glibc-2.34.patch b/app-crypt/gpgme/files/gpgme-1.16.0-glibc-2.34.patch deleted file mode 100644 index f328e4540ae..00000000000 --- a/app-crypt/gpgme/files/gpgme-1.16.0-glibc-2.34.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://bugs.gentoo.org/803557 -https://dev.gnupg.org/T5587 - -From: Fabrice Fontaine -Date: Sun, 5 Sep 2021 00:05:00 +0200 -Subject: [PATCH] src/posix-io.c: fix build with glibc >= 2.34 - -Fix the following build failure with glibc >= 2.34 raised because -closefrom doesn't return an int but a void since its addition with -https://github.com/bminor/glibc/commit/607449506f197cc9514408908f41f22537a47a8c - -``` -posix-io.c: In function '_gpgme_io_spawn': -posix-io.c:577:23: error: void value not ignored as it ought to be - 577 | while ((i = closefrom (fd)) && errno == EINTR) - | ^ -``` - -Fixes: - - http://autobuild.buildroot.org/results/b11094ddd35263071b7dd453a6590c5b684026ff - -Signed-off-by: Fabrice Fontaine ---- a/src/posix-io.c -+++ b/src/posix-io.c -@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags, - if (fd_list[i].fd > fd) - fd = fd_list[i].fd; - fd++; --#if defined(__sun) || defined(__FreeBSD__) -+#if defined(__sun) || defined(__FreeBSD__) || (defined (__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) - closefrom (fd); - max_fds = fd; - #else /*!__sun */ diff --git a/app-crypt/gpgme/gpgme-1.16.0.ebuild b/app-crypt/gpgme/gpgme-1.16.0.ebuild index d8df58daf47..ed9a1cc7e57 100644 --- a/app-crypt/gpgme/gpgme-1.16.0.ebuild +++ b/app-crypt/gpgme/gpgme-1.16.0.ebuild @@ -29,10 +29,6 @@ BDEPEND="python? ( dev-lang/swig )" REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" -PATCHES=( - "${FILESDIR}"/${P}-glibc-2.34.patch -) - do_python() { if use python; then pushd "lang/python" > /dev/null || die