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 1ED00158041 for ; Tue, 5 Mar 2024 04:48:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61F36E2A24; Tue, 5 Mar 2024 04:48:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47CF6E2A21 for ; Tue, 5 Mar 2024 04:48:50 +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 801BD343087 for ; Tue, 5 Mar 2024 04:48:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 217CA14E6 for ; Tue, 5 Mar 2024 04:48:48 +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: <1709614005.9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/pngtools/pngtools-0.4_p20220314.ebuild X-VCS-Directories: media-gfx/pngtools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc X-VCS-Branch: master Date: Tue, 5 Mar 2024 04:48:48 +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: b656053b-7ceb-465a-8bb3-8277e9ddedd3 X-Archives-Hash: 037b4d50ef2b256b5b3be2bcd2f4cce1 commit: 9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc Author: Eli Schwartz gmail com> AuthorDate: Mon Mar 4 23:52:36 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 5 04:46:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a68e7e3 media-gfx/pngtools: mark as LTO-unsafe Closes: https://bugs.gentoo.org/875371 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild index 0e411a64e826..67bd84dbf9e8 100644 --- a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild +++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic MY_COMMIT="1ccca3a0f3f6882661bbafbfb62feb774ca195d1" DESCRIPTION="A series of tools for the PNG image format" @@ -30,6 +30,15 @@ src_prepare() { eautoreconf } +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/875371 + # https://github.com/mikalstill/pngtools/issues/21 + filter-lto + + default +} + src_install() { default