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 2A3E8159C9B for ; Mon, 12 Aug 2024 04:22:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35B8EE2AAC; Mon, 12 Aug 2024 04:22:39 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B085E2AAC for ; Mon, 12 Aug 2024 04:22:39 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0ECE3430F7 for ; Mon, 12 Aug 2024 04:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E2E71ED6 for ; Mon, 12 Aug 2024 04:22:36 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1723436458.e17e4d8bffe19eb873f7d823b19aeb4c1d1455f2.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/xv/xv-3.10a-r22.ebuild media-gfx/xv/xv-5.2.0.ebuild X-VCS-Directories: media-gfx/xv/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: e17e4d8bffe19eb873f7d823b19aeb4c1d1455f2 X-VCS-Branch: master Date: Mon, 12 Aug 2024 04:22:36 +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: 7b15089f-cd47-42f7-8c6d-2a27a0ca84a3 X-Archives-Hash: 6035bdca6ab63b62fe3bd47d7363822a commit: e17e4d8bffe19eb873f7d823b19aeb4c1d1455f2 Author: Eli Schwartz gentoo org> AuthorDate: Mon Aug 12 04:20:26 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Mon Aug 12 04:20:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e17e4d8b media-gfx/xv: mark as LTO-unsafe Closes: https://bugs.gentoo.org/859823 Signed-off-by: Eli Schwartz gentoo.org> media-gfx/xv/xv-3.10a-r22.ebuild | 5 +++++ media-gfx/xv/xv-5.2.0.ebuild | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/media-gfx/xv/xv-3.10a-r22.ebuild b/media-gfx/xv/xv-3.10a-r22.ebuild index 6349d9814431..9141002ec745 100644 --- a/media-gfx/xv/xv-3.10a-r22.ebuild +++ b/media-gfx/xv/xv-3.10a-r22.ebuild @@ -70,6 +70,11 @@ src_prepare() { } src_compile() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/859823 + # https://github.com/jasper-software/xv/issues/25 + filter-lto + emake \ CC="$(tc-getCC)" CCOPTS="${CPPFLAGS} ${CFLAGS}" LDFLAGS="${LDFLAGS}" \ PREFIX="${EPREFIX}"/usr \ diff --git a/media-gfx/xv/xv-5.2.0.ebuild b/media-gfx/xv/xv-5.2.0.ebuild index 49af68754450..a1e2d3e14fb9 100644 --- a/media-gfx/xv/xv-5.2.0.ebuild +++ b/media-gfx/xv/xv-5.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake desktop +inherit cmake desktop flag-o-matic JUMBOV=20070520 DESCRIPTION="Interactive image manipulation program supporting a wide variety of formats" @@ -33,6 +33,11 @@ PATCHES=( ) src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/859823 + # https://github.com/jasper-software/xv/issues/25 + filter-lto + local mycmakeargs=( -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" -DXV_ENABLE_JPEG=$(usex jpeg)