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 27C8C158086 for ; Wed, 8 Dec 2021 05:01:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33C592BC005; Wed, 8 Dec 2021 05:01:57 +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 106C12BC005 for ; Wed, 8 Dec 2021 05:01:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E1ECD3431FD for ; Wed, 8 Dec 2021 05:01:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 710761E3 for ; Wed, 8 Dec 2021 05:01:54 +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: <1638939614.952a29c6138d6eb1e1e3bd77781c053837924d5b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/glm/glm-0.9.9.8-r1.ebuild X-VCS-Directories: media-libs/glm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 952a29c6138d6eb1e1e3bd77781c053837924d5b X-VCS-Branch: master Date: Wed, 8 Dec 2021 05:01:54 +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: 646dc6c7-be38-454d-8915-3fdc805a9aad X-Archives-Hash: 95ebdccc8a6df0b61a98246b1add72a4 commit: 952a29c6138d6eb1e1e3bd77781c053837924d5b Author: Sam James gentoo org> AuthorDate: Wed Dec 8 05:00:14 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 8 05:00:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952a29c6 media-libs/glm: fix test-core_func_integer test Note that glm is a header-only library and the miscompilation/unintended optimisation/whatever we want to call it only affectes tests, so no need to revbump (no change in runtime behaviour). See: https://github.com/g-truc/glm/pull/1087 Bug: https://bugs.gentoo.org/818235 Signed-off-by: Sam James gentoo.org> media-libs/glm/glm-0.9.9.8-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild b/media-libs/glm/glm-0.9.9.8-r1.ebuild index 04922fcc2113..744910fd87c9 100644 --- a/media-libs/glm/glm-0.9.9.8-r1.ebuild +++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="OpenGL Mathematics" HOMEPAGE="http://glm.g-truc.net/" @@ -24,6 +24,10 @@ PATCHES=( src_configure() { # Header-only library if use test; then + # See https://github.com/g-truc/glm/pull/1087 + # https://bugs.gentoo.org/818235 + append-cxxflags -fno-ipa-modref + local mycmakeargs=( -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"