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 3C9E7158043 for ; Thu, 29 Feb 2024 23:58:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E1DDE2A41; Thu, 29 Feb 2024 23:58:18 +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 102F2E2A41 for ; Thu, 29 Feb 2024 23:58:18 +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 0B7033430AA for ; Thu, 29 Feb 2024 23:58:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9357D14E7 for ; Thu, 29 Feb 2024 23:58:15 +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: <1709251059.efd1a1f09c5c37ee32ea6e1185a0d10305097ff6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pspdftool/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pspdftool/pspdftool-0.03.ebuild X-VCS-Directories: app-text/pspdftool/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: efd1a1f09c5c37ee32ea6e1185a0d10305097ff6 X-VCS-Branch: master Date: Thu, 29 Feb 2024 23:58:15 +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: 261991b0-04ef-40d4-a668-c164010ba3c9 X-Archives-Hash: dbac853677c86d18240b6f841d6a0263 commit: efd1a1f09c5c37ee32ea6e1185a0d10305097ff6 Author: Eli Schwartz gmail com> AuthorDate: Thu Feb 29 22:29:27 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 29 23:57:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd1a1f0 app-text/pspdftool: mark LTO-unsafe, mark strict-aliasing unsafe The software is: - dead upstream since 2015 - maintainer-needed in gentoo - no reverse dependencies - unstable-only - a walking strict-aliasing problem It's not getting fixed any time soon, and there's nowhere to report its issues, so just filter out the most dangerous flags and pray nothing explodes. Closes: https://bugs.gentoo.org/855023 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> app-text/pspdftool/pspdftool-0.03.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild b/app-text/pspdftool/pspdftool-0.03.ebuild index 5dff5b9d0d33..97d533be413d 100644 --- a/app-text/pspdftool/pspdftool-0.03.ebuild +++ b/app-text/pspdftool/pspdftool-0.03.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents" HOMEPAGE="https://sourceforge.net/projects/pspdftool" @@ -24,6 +24,12 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing; do not trust for LTO-safety either. + # https://bugs.gentoo.org/855023 + # Upstream is dead for nearly a decade. Not forwarded. + append-flags -fno-strict-aliasing + filter-lto + econf $(use_with zlib) }