commit:     575c619db86d40fa8ccc5889464b82c0e0fae647
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 10:14:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 10:17:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575c619d

media-libs/openfec: disable SSE asm

There's a bunch of UBSAN issues in openfec and it shows up as roc-toolkit's
tests segfaulting.

Bug: https://github.com/roc-streaming/openfec/issues/22
Closes: https://bugs.gentoo.org/941750
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../openfec/{openfec-1.4.2.11.ebuild => openfec-1.4.2.11-r1.ebuild}  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/openfec/openfec-1.4.2.11.ebuild 
b/media-libs/openfec/openfec-1.4.2.11-r1.ebuild
similarity index 82%
rename from media-libs/openfec/openfec-1.4.2.11.ebuild
rename to media-libs/openfec/openfec-1.4.2.11-r1.ebuild
index cd6ad2b2f564..316e50512f58 100644
--- a/media-libs/openfec/openfec-1.4.2.11.ebuild
+++ b/media-libs/openfec/openfec-1.4.2.11-r1.ebuild
@@ -13,7 +13,6 @@ 
SRC_URI="https://github.com/roc-streaming/openfec/archive/refs/tags/v${PV}.tar.g
 LICENSE="CeCILL-2 CeCILL-C"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="cpu_flags_x86_sse"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.4.2.11-opt.patch
@@ -21,7 +20,9 @@ PATCHES=(
 
 src_configure() {
        local mycmakeargs=(
-               -DASSEMBLY_SSE_OPT=$(usex cpu_flags_x86_sse)
+               # Causes crashes in media-libs/roc-toolkit (bug #941750)
+               # https://github.com/roc-streaming/openfec/issues/22
+               -DASSEMBLY_SSE_OPT=OFF
        )
 
        cmake_src_configure

Reply via email to