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 D90691382C5 for ; Mon, 3 May 2021 17:01:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11217E08C4; Mon, 3 May 2021 17:01:52 +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 ECC4BE08C4 for ; Mon, 3 May 2021 17:01:51 +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 7BEEA33BF11 for ; Mon, 3 May 2021 17:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB008744 for ; Mon, 3 May 2021 17:01:46 +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: <1620061299.b69c36acab3ef74df82fe39d81b36feac34b23bc.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/tg_owt/tg_owt-0_pre20210422.ebuild X-VCS-Directories: media-libs/tg_owt/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: b69c36acab3ef74df82fe39d81b36feac34b23bc X-VCS-Branch: master Date: Mon, 3 May 2021 17:01: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: 76ea9951-d59f-4548-aabb-c496ad45ef6b X-Archives-Hash: 6e99b147e1d959304f96b684c70f9a97 commit: b69c36acab3ef74df82fe39d81b36feac34b23bc Author: Georgy Yakovlev gentoo org> AuthorDate: Mon May 3 15:55:48 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon May 3 17:01:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69c36ac media-libs/tg_owt: alter sse2 workaround upstream added some logic here, but not enough for ppc64 hack it around Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/tg_owt/tg_owt-0_pre20210422.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild index 0c5ed6f7895..c7df11e1b9c 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild @@ -62,9 +62,12 @@ src_prepare() { sed -i -e '/desktop_capture\/screen_drawer\.cc/d' \ -e '/desktop_capture\/screen_drawer_lock_posix\.cc/d' CMakeLists.txt || die - # Causes forced inclusion of SSE2, so we strip it out on x86* arches - if ! use amd64 && ! use x86; then - sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + # HACK + # build/headers don't have ppc64 condition and force SSE2. + # sed it out and force C version on ppc64 + # without this linking tdesktop will fail with undef reference to `webrtc::VectorDifference_SSE2_W32 + if use ppc64; then + sed -i 's/VectorDifference_SSE2_W.*/VectorDifference_C;/g' src/modules/desktop_capture/differ_block.cc || die fi cmake_src_prepare