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 C4B63158041 for ; Tue, 12 Mar 2024 05:16:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38145E2A10; Tue, 12 Mar 2024 05:16:31 +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 D57B8E2A10 for ; Tue, 12 Mar 2024 05:16:30 +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 E5740343012 for ; Tue, 12 Mar 2024 05:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36325151C for ; Tue, 12 Mar 2024 05:16:27 +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: <1710220540.8994f0c196a97bec1bc50259d462565efb937e4f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/devil/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/devil/devil-1.7.8-r6.ebuild X-VCS-Directories: media-libs/devil/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8994f0c196a97bec1bc50259d462565efb937e4f X-VCS-Branch: master Date: Tue, 12 Mar 2024 05:16:27 +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: 1df3b2fd-e7dd-47ff-98bc-7bdeb1c76001 X-Archives-Hash: 7c1578748613197274f2c049a500a3e1 commit: 8994f0c196a97bec1bc50259d462565efb937e4f Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 12 04:42:00 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 12 05:15:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8994f0c1 media-libs/devil: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/859835 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/devil/devil-1.7.8-r6.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/media-libs/devil/devil-1.7.8-r6.ebuild b/media-libs/devil/devil-1.7.8-r6.ebuild index ea29d4edf855..fafa062a9f18 100644 --- a/media-libs/devil/devil-1.7.8-r6.ebuild +++ b/media-libs/devil/devil-1.7.8-r6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 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_P=DevIL-${PV} @@ -58,6 +58,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/859835 + # https://github.com/DentonW/DevIL/issues/110 + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable static-libs static) \ --disable-lcms \