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 C3BE8138350 for ; Sun, 5 Apr 2020 00:12:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFF57E08A6; Sun, 5 Apr 2020 00:12:23 +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 9716DE08A6 for ; Sun, 5 Apr 2020 00:12:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B4D5B34EFD0 for ; Sun, 5 Apr 2020 00:12:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 294D2198 for ; Sun, 5 Apr 2020 00:12:19 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1586045523.b3686ff7aee4ece15744169e0feda1ca0578e019.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/flac/flac-1.3.3.ebuild X-VCS-Directories: media-libs/flac/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: b3686ff7aee4ece15744169e0feda1ca0578e019 X-VCS-Branch: master Date: Sun, 5 Apr 2020 00:12:19 +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: 440cda1f-8a42-429a-accf-087a6d06492c X-Archives-Hash: 672bab9c1eb7ef0077f0cf00d4934448 commit: b3686ff7aee4ece15744169e0feda1ca0578e019 Author: Georgy Yakovlev gentoo org> AuthorDate: Sat Apr 4 23:57:34 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Apr 5 00:12:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3686ff7 media-libs/flac: switch to CPU_FLAGS_PPC --enable-altivec prevented flac from compiling on G4/G5 due to misdetection of vsx Adding proper flag allows to compile with altivec but without vsx. Closes: https://bugs.gentoo.org/701308 Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/flac/flac-1.3.3.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-libs/flac/flac-1.3.3.ebuild b/media-libs/flac/flac-1.3.3.ebuild index b3aea9e2746..0a616c50a7d 100644 --- a/media-libs/flac/flac-1.3.3.ebuild +++ b/media-libs/flac/flac-1.3.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz" LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="altivec +cxx debug ogg cpu_flags_x86_sse static-libs" +IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_sse static-libs" RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} @@ -30,7 +30,8 @@ multilib_src_configure() { --disable-examples --disable-xmms-plugin $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations") - $(use_enable altivec) + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable cpu_flags_ppc_vsx vsx) $(use_enable cpu_flags_x86_sse sse) $(use_enable cxx cpplibs) $(use_enable debug)