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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01E5D138359 for ; Sat, 8 Aug 2020 04:42:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20396E0B0A; Sat, 8 Aug 2020 04:42:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08D6FE0B0A for ; Sat, 8 Aug 2020 04:42:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CDA334F50D for ; Sat, 8 Aug 2020 04:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75D112FC for ; Sat, 8 Aug 2020 04:42:46 +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: <1596861728.c3b6a9195cdcad8e233e5f570114c8ff18f68327.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libjpeg-turbo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild X-VCS-Directories: media-libs/libjpeg-turbo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c3b6a9195cdcad8e233e5f570114c8ff18f68327 X-VCS-Branch: master Date: Sat, 8 Aug 2020 04:42:46 +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: 6fbada78-93df-4156-b218-5a5150123507 X-Archives-Hash: 7cfa9298442494de83126ef871ea94a0 commit: c3b6a9195cdcad8e233e5f570114c8ff18f68327 Author: Sam James gentoo org> AuthorDate: Sat Aug 8 04:42:00 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 8 04:42:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b6a919 media-libs/libjpeg-turbo: fix tests on ppc Fix tests on PPC by applying upstream-recommended workaround (-DFLOATTEST=64bit). See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428 for details. Bug: https://bugs.gentoo.org/727010 Closes: https://bugs.gentoo.org/715406 Thanks-to: ernsteiswuerfel mailbox.org> Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild | 9 +++++++++ media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild index c929f7d5bde..4a05e15dcda 100644 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.4-r1.ebuild @@ -81,7 +81,16 @@ multilib_src_configure() { -DWITH_JAVA="$(multilib_native_usex java)" -DWITH_MEM_SRCDST=ON ) + [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239 + + if use ppc ; then + # Workaround recommended by upstream: + # https://bugs.gentoo.org/715406#c9 + # https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428 + mycmakeargs+=( -DFLOATTEST="64bit" ) + fi + cmake_src_configure } diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild index 66f92e41232..c344f315c60 100644 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.5.ebuild @@ -77,7 +77,16 @@ multilib_src_configure() { -DWITH_JAVA="$(multilib_native_usex java)" -DWITH_MEM_SRCDST=ON ) + [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239 + + if use ppc ; then + # Workaround recommended by upstream: + # https://bugs.gentoo.org/715406#c9 + # https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428 + mycmakeargs+=( -DFLOATTEST="64bit" ) + fi + cmake_src_configure }