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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EA9D15808B for ; Sun, 17 Apr 2022 12:09:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A2BAE08EC; Sun, 17 Apr 2022 12:09:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A85D6E08EC for ; Sun, 17 Apr 2022 12:09:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 984BE34175A for ; Sun, 17 Apr 2022 12:09:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 132C1177 for ; Sun, 17 Apr 2022 12:09:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650197338.ab42ea869b7ed7f8739f3620728a4b5bddee68c9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ghostscript-gpl/files/, app-text/ghostscript-gpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ghostscript-gpl/files/ghostscript-gpl-9.55.0-no-force-libstdcxx.patch app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild X-VCS-Directories: app-text/ghostscript-gpl/files/ app-text/ghostscript-gpl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ab42ea869b7ed7f8739f3620728a4b5bddee68c9 X-VCS-Branch: master Date: Sun, 17 Apr 2022 12:09:10 +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: 77c834b0-87b6-4ca0-b324-56f49ed1ccfc X-Archives-Hash: 3683d40e927bd5d1003131038928627a commit: ab42ea869b7ed7f8739f3620728a4b5bddee68c9 Author: Sam James gentoo org> AuthorDate: Sun Apr 17 11:03:53 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 17 12:08:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab42ea86 app-text/ghostscript-gpl: fix build w/ libcxx (don't force libstdc++) Closes: https://bugs.gentoo.org/784173 Signed-off-by: Sam James gentoo.org> .../files/ghostscript-gpl-9.55.0-no-force-libstdcxx.patch | 12 ++++++++++++ app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.55.0-no-force-libstdcxx.patch b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.55.0-no-force-libstdcxx.patch new file mode 100644 index 000000000000..e10522af9017 --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.55.0-no-force-libstdcxx.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/784173 +--- a/configure.ac ++++ b/configure.ac +@@ -857,7 +857,7 @@ + else + + save_cxxflags="$CXXFLAGS" +- cxxflags_to_try="-std=c++17 -stdlib=libstdc++" ++ cxxflags_to_try="-std=c++17" + CXXFLAGS_TO_USE="" + + AC_MSG_CHECKING([supported C++ compiler flags]) diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild index 63b3a363c410..2af192b34ec5 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.55.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -60,6 +60,10 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}"/${PN}-9.55.0-no-force-libstdcxx.patch +) + src_prepare() { if [[ -n "${MY_PATCHSET}" ]] ; then # apply various patches, many borrowed from Fedora