public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
Date: Mon,  3 May 2021 17:01:46 +0000 (UTC)	[thread overview]
Message-ID: <1620061299.b69c36acab3ef74df82fe39d81b36feac34b23bc.gyakovlev@gentoo> (raw)

commit:     b69c36acab3ef74df82fe39d81b36feac34b23bc
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May  3 15:55:48 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> 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 <gyakovlev <AT> 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


             reply	other threads:[~2021-05-03 17:01 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 17:01 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06  2:05 [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/ Yixun Lan
2025-01-03 17:22 Sam James
2025-01-03  1:17 Yixun Lan
2025-01-03  1:17 Yixun Lan
2024-12-04  3:14 Yixun Lan
2024-10-23 10:49 Yixun Lan
2024-09-07 23:36 Yixun Lan
2024-09-04  2:32 Yixun Lan
2024-03-03 22:12 Sam James
2024-01-02  6:06 WANG Xuerui
2023-10-31  1:07 Yixun Lan
2023-10-07 22:26 Ionen Wolkens
2023-05-18  7:12 Joonas Niilola
2023-05-18  7:12 Joonas Niilola
2023-05-07  7:22 Sam James
2023-03-30 17:57 Arthur Zamarin
2023-01-22 23:36 Georgy Yakovlev
2023-01-21 16:53 Sam James
2022-12-02 22:49 Georgy Yakovlev
2022-08-03 17:40 Georgy Yakovlev
2022-07-20  5:15 Sam James
2022-03-20 20:40 Arthur Zamarin
2022-02-07  6:32 Sam James
2022-01-10  8:38 Agostino Sarubbo
2022-01-07 17:01 Georgy Yakovlev
2022-01-07 17:01 Georgy Yakovlev
2022-01-07 17:01 Georgy Yakovlev
2021-12-10 21:31 Georgy Yakovlev
2021-11-16 10:08 Jakov Smolić
2021-09-24 17:33 Georgy Yakovlev
2021-08-24 18:41 Georgy Yakovlev
2021-08-04  6:39 Agostino Sarubbo
2021-06-28  8:38 Georgy Yakovlev
2021-06-28  8:38 Georgy Yakovlev
2021-06-28  8:38 Georgy Yakovlev
2021-06-12  1:18 Sam James
2021-04-23 19:06 Georgy Yakovlev
2021-04-22 12:08 Sam James
2021-03-26 21:30 Georgy Yakovlev
2021-03-26  0:04 Sam James
2021-03-25 21:54 Georgy Yakovlev
2021-03-25 21:48 Georgy Yakovlev
2021-03-25 19:31 Georgy Yakovlev
2021-03-25 19:31 Georgy Yakovlev
2021-02-28 20:26 Georgy Yakovlev
2020-11-24  5:53 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-11-05 17:54 Georgy Yakovlev
2020-11-01  5:30 Sam James
2020-10-31  0:40 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1620061299.b69c36acab3ef74df82fe39d81b36feac34b23bc.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox