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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42DDF158013 for ; Sun, 22 Sep 2024 13:59:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D8A2E2CFA; Sun, 22 Sep 2024 13:59:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 5D914E2CFA for ; Sun, 22 Sep 2024 13:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6BEFE343294 for ; Sun, 22 Sep 2024 13:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 012851CB1 for ; Sun, 22 Sep 2024 13:59:35 +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: <1727013502.228410dfe66b2f9b6c738675c1ad5656d9235aed.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/swig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/swig/swig-4.2.1.ebuild X-VCS-Directories: dev-lang/swig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 228410dfe66b2f9b6c738675c1ad5656d9235aed X-VCS-Branch: master Date: Sun, 22 Sep 2024 13:59:35 +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: ddd38901-44a6-4668-985c-bd9f100d5f72 X-Archives-Hash: 9f249efd22341de0b79d3517272ed13a commit: 228410dfe66b2f9b6c738675c1ad5656d9235aed Author: Sam James gentoo org> AuthorDate: Sun Sep 22 13:58:22 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 22 13:58:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228410df dev-lang/swig: build with -fPIC, not -fpic This fixes tests on hppa, sparc. Closes: https://bugs.gentoo.org/900769 Closes: https://bugs.gentoo.org/935318 Signed-off-by: Sam James gentoo.org> dev-lang/swig/swig-4.2.1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-lang/swig/swig-4.2.1.ebuild b/dev-lang/swig/swig-4.2.1.ebuild index 1375557b544c..114ecb465943 100644 --- a/dev-lang/swig/swig-4.2.1.ebuild +++ b/dev-lang/swig/swig-4.2.1.ebuild @@ -27,6 +27,17 @@ BDEPEND="virtual/pkgconfig" DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) +PATCHES=( + "${FILESDIR}"/${P}-tests-fpic.patch +) + +src_prepare() { + default + + # Delete after 4.2.1 (bug #900769, bug #935318) + sed -i -e 's:fpic:fPIC:' configure.ac configure || die +} + src_configure() { # TODO: add USE for various langs? (https://bugs.gentoo.org/921504#c3) econf \