commit:     67bcdf478f0dd3fc23328dc5d913f237a298c4de
Author:     Brett A C Sheffield <bacs <AT> librecast <DOT> net>
AuthorDate: Mon Mar  9 17:57:40 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 13:34:00 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bcdf47

dev-lang/orc: drop 0.4.38, 0.4.40, 0.4.40-r1

Security cleanup.

Bug: https://bugs.gentoo.org/937127
Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/279
Merges: https://codeberg.org/gentoo/gentoo/pulls/279
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/orc/Manifest                   |  2 -
 dev-lang/orc/files/orc-0.4.40-avx.patch | 77 ---------------------------------
 dev-lang/orc/orc-0.4.38.ebuild          | 41 ------------------
 dev-lang/orc/orc-0.4.40-r1.ebuild       | 45 -------------------
 dev-lang/orc/orc-0.4.40.ebuild          | 41 ------------------
 dev-lang/orc/orc-0.4.42.ebuild          |  2 +-
 6 files changed, 1 insertion(+), 207 deletions(-)

diff --git a/dev-lang/orc/Manifest b/dev-lang/orc/Manifest
index a8ce876a4727..680483f16522 100644
--- a/dev-lang/orc/Manifest
+++ b/dev-lang/orc/Manifest
@@ -1,4 +1,2 @@
-DIST orc-0.4.38.tar.xz 227152 BLAKE2B 
f7babfec5f4d792fb52eb0ca23743b6c06a12625edcf0cecbf8e3cb88c13171a760c6874061a3e55a43df5389346b3c3d0ba3463d6e1ef32f685162f7478e631
 SHA512 
49f34be85f6980e4b5e94f848016f5788b658323f3a120110bc237722ac99938c02976efbe96022d148054330432899533305d4dd21be8fab76fd1995179339a
-DIST orc-0.4.40.tar.xz 233276 BLAKE2B 
2f2be5b7eaf5ea8c2fc55ff3938b5a9e9ef25a1ff3c5de4c02f9847b2df9039c8f412b9d780a172e78838c22f5006544a8181d7aaa22c47be98e6f050c04435e
 SHA512 
2cbc0b8b9f5f429e0c4b24b7b9a8bc5d249c013470d8a595fdb3969a68a90c95c3b1e79063851f2d0ca7f7888d33901f227d2e04f919df00caf37eca6270c0e3
 DIST orc-0.4.41.tar.xz 234212 BLAKE2B 
8c14462bc2420a96176592c8362d302667041c70086cbad8785bfde182a6131b86c5293d607d0c87bfdc400c1e22dc83dda5bd3a4c799e8f398ed7b72ad0fae5
 SHA512 
8c1dc497b2e2dd9a071ea0cb66bbf4bda0bad64f41c1ce0b9c87eb61c1fcf27d4cbef6c30ef00fed57c3623458aa683d39904f7c37072072eda6c51bcdd94091
 DIST orc-0.4.42.tar.xz 280792 BLAKE2B 
0146c9c65e9c0c48ac39911b6307cad014a255331defcc6669cd158581b211138b900d62c8799ca135d6e669c5878029d0dcba373fdfc86e190743d575f071c0
 SHA512 
3a1ebe31a49255df10dbf2eb2aa72265dfc8a3806107d57b92c187aab8be32e01ad5652fb385d6886a15c23017a4db5374c0234be4c6d69b9af18347f83b1e6f

diff --git a/dev-lang/orc/files/orc-0.4.40-avx.patch 
b/dev-lang/orc/files/orc-0.4.40-avx.patch
deleted file mode 100644
index 41dddd0c7248..000000000000
--- a/dev-lang/orc/files/orc-0.4.40-avx.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-https://bugs.gentoo.org/948164
-https://gitlab.freedesktop.org/gstreamer/orc/-/issues/82
-https://gitlab.freedesktop.org/gstreamer/orc/-/commit/8e48a61e27f4d3e60bf2e3e7873fd61363db6ff8
-
-From 8e48a61e27f4d3e60bf2e3e7873fd61363db6ff8 Mon Sep 17 00:00:00 2001
-From: "L. E. Segovia" <[email protected]>
-Date: Wed, 15 Jan 2025 22:20:14 +0000
-Subject: [PATCH] avx: Fix sqrtps encoding, it's an unary operator
-
-Fixes #82
-
-Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/213>
----
- orc/orcavx.h       | 4 ++--
- orc/orcprogram-c.c | 1 +
- orc/orcrules-avx.c | 2 +-
- testsuite/test.orc | 8 ++++++++
- 4 files changed, 12 insertions(+), 3 deletions(-)
-
-diff --git a/orc/orcavx.h b/orc/orcavx.h
-index f564b63f..ca95bd02 100644
---- a/orc/orcavx.h
-+++ b/orc/orcavx.h
-@@ -224,8 +224,8 @@ ORC_API void orc_avx_restore_mxcsr (OrcCompiler *compiler);
- #define orc_avx_emit_mulps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_mulps, 32, s1, s2, d, ORC_X86_AVX_VEX256_PREFIX)
- #define orc_avx_sse_emit_divps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_divps, 32, s1, s2, d, ORC_X86_AVX_VEX128_PREFIX)
- #define orc_avx_emit_divps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_divps, 32, s1, s2, d, ORC_X86_AVX_VEX256_PREFIX)
--#define orc_avx_sse_emit_sqrtps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_sqrtps, 32, s1, s2, d, ORC_X86_AVX_VEX128_PREFIX)
--#define orc_avx_emit_sqrtps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_sqrtps, 32, s1, s2, d, ORC_X86_AVX_VEX256_PREFIX)
-+#define orc_avx_sse_emit_sqrtps(p,s1,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_sqrtps, 32, s1, 0, d, ORC_X86_AVX_VEX128_PREFIX)
-+#define orc_avx_emit_sqrtps(p,s1,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_sqrtps, 32, s1, 0, d, ORC_X86_AVX_VEX256_PREFIX)
- #define orc_avx_sse_emit_andps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_andps, 32, s1, s2, d, ORC_X86_AVX_VEX128_PREFIX)
- #define orc_avx_emit_andps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_andps, 32, s1, s2, d, ORC_X86_AVX_VEX256_PREFIX)
- #define orc_avx_sse_emit_orps(p,s1,s2,d) orc_vex_emit_cpuinsn_size(p, 
ORC_X86_orps, 32, s1, s2, d, ORC_X86_AVX_VEX128_PREFIX)
-diff --git a/orc/orcprogram-c.c b/orc/orcprogram-c.c
-index 49e0b73b..1c9ff7cf 100644
---- a/orc/orcprogram-c.c
-+++ b/orc/orcprogram-c.c
-@@ -106,6 +106,7 @@ orc_target_c_get_asm_preamble (void)
- {
-   return "\n"
-     "/* begin Orc C target preamble */\n"
-+    "#include <math.h>\n"
-     "#define ORC_CLAMP(x,a,b) ((x)<(a) ? (a) : ((x)>(b) ? (b) : (x)))\n"
-     "#define ORC_ABS(a) ((a)<0 ? -(a) : (a))\n"
-     "#define ORC_MIN(a,b) ((a)<(b) ? (a) : (b))\n"
-diff --git a/orc/orcrules-avx.c b/orc/orcrules-avx.c
-index 66925982..5cffe145 100644
---- a/orc/orcrules-avx.c
-+++ b/orc/orcrules-avx.c
-@@ -2678,7 +2678,7 @@ BINARY (addf, addps)
- BINARY (subf, subps)
- BINARY (mulf, mulps)
- BINARY (divf, divps)
--BINARY (sqrtf, sqrtps)
-+UNARY (sqrtf, sqrtps)
- BINARY (orf, orps)
- BINARY (andf, andps)
- 
-diff --git a/testsuite/test.orc b/testsuite/test.orc
-index 3e9c5790..9ff53236 100644
---- a/testsuite/test.orc
-+++ b/testsuite/test.orc
-@@ -2806,3 +2806,11 @@ x4 addb argb, x, c128
- mulslq t1, d1, p1
- shrsq t1, t1, 27
- convql d1, t1
-+
-+.function sqrt_nx
-+.dest 4 dst float
-+.source 4 src float
-+.floatparam 4 k
-+.temp 4 tmp
-+sqrtf tmp, src
-+mulf dst, tmp, k
--- 
-GitLab

diff --git a/dev-lang/orc/orc-0.4.38.ebuild b/dev-lang/orc/orc-0.4.38.ebuild
deleted file mode 100644
index a5f25355aeaa..000000000000
--- a/dev-lang/orc/orc-0.4.38.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib
-
-DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array 
operations"
-HOMEPAGE="https://gstreamer.freedesktop.org/";
-SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz";
-
-LICENSE="BSD BSD-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86 ~x64-macos 
~x64-solaris"
-RESTRICT="!test? ( test )"
-IUSE="gtk-doc static-libs test"
-
-BDEPEND="
-       gtk-doc? (
-               dev-util/gtk-doc
-               app-text/docbook-xml-dtd:4.1.2
-               app-text/docbook-xml-dtd:4.3
-       )
-"
-
-DOCS=( CONTRIBUTING.md README RELEASE )
-
-multilib_src_configure() {
-       # FIXME: handle backends per arch? What about cross-compiling for the 
other arches?
-       local emesonargs=(
-               -Ddefault_library=$(usex static-libs both shared)
-               -Dorc-backend=all
-               -Dorc-test=enabled
-               -Dbenchmarks=disabled
-               -Dexamples=disabled
-               $(meson_native_use_feature gtk-doc gtk_doc)
-               $(meson_feature test tests)
-               -Dtools=enabled # requires orc-test
-       )
-       meson_src_configure
-}

diff --git a/dev-lang/orc/orc-0.4.40-r1.ebuild 
b/dev-lang/orc/orc-0.4.40-r1.ebuild
deleted file mode 100644
index 3bc7c8e7d20b..000000000000
--- a/dev-lang/orc/orc-0.4.40-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib
-
-DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array 
operations"
-HOMEPAGE="https://gstreamer.freedesktop.org/";
-SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz";
-
-LICENSE="BSD BSD-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86 ~x64-macos 
~x64-solaris"
-RESTRICT="!test? ( test )"
-IUSE="gtk-doc static-libs test"
-
-BDEPEND="
-       gtk-doc? (
-               dev-util/gtk-doc
-               app-text/docbook-xml-dtd:4.1.2
-               app-text/docbook-xml-dtd:4.3
-       )
-"
-
-DOCS=( CONTRIBUTING.md README RELEASE )
-
-PATCHES=(
-       "${FILESDIR}"/${P}-avx.patch
-)
-
-multilib_src_configure() {
-       # FIXME: handle backends per arch? What about cross-compiling for the 
other arches?
-       local emesonargs=(
-               -Ddefault_library=$(usex static-libs both shared)
-               -Dorc-backend=all
-               -Dorc-test=enabled
-               -Dbenchmarks=disabled
-               -Dexamples=disabled
-               $(meson_native_use_feature gtk-doc gtk_doc)
-               $(meson_feature test tests)
-               -Dtools=enabled # requires orc-test
-       )
-       meson_src_configure
-}

diff --git a/dev-lang/orc/orc-0.4.40.ebuild b/dev-lang/orc/orc-0.4.40.ebuild
deleted file mode 100644
index 5a8d8561d71f..000000000000
--- a/dev-lang/orc/orc-0.4.40.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib
-
-DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array 
operations"
-HOMEPAGE="https://gstreamer.freedesktop.org/";
-SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz";
-
-LICENSE="BSD BSD-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 
~x64-macos ~x64-solaris"
-RESTRICT="!test? ( test )"
-IUSE="gtk-doc static-libs test"
-
-BDEPEND="
-       gtk-doc? (
-               dev-util/gtk-doc
-               app-text/docbook-xml-dtd:4.1.2
-               app-text/docbook-xml-dtd:4.3
-       )
-"
-
-DOCS=( CONTRIBUTING.md README RELEASE )
-
-multilib_src_configure() {
-       # FIXME: handle backends per arch? What about cross-compiling for the 
other arches?
-       local emesonargs=(
-               -Ddefault_library=$(usex static-libs both shared)
-               -Dorc-backend=all
-               -Dorc-test=enabled
-               -Dbenchmarks=disabled
-               -Dexamples=disabled
-               $(meson_native_use_feature gtk-doc gtk_doc)
-               $(meson_feature test tests)
-               -Dtools=enabled # requires orc-test
-       )
-       meson_src_configure
-}

diff --git a/dev-lang/orc/orc-0.4.42.ebuild b/dev-lang/orc/orc-0.4.42.ebuild
index 0d617e0f28af..200595796027 100644
--- a/dev-lang/orc/orc-0.4.42.ebuild
+++ b/dev-lang/orc/orc-0.4.42.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz";
 
 LICENSE="BSD BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86 ~x64-macos 
~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 
~x64-macos ~x64-solaris"
 IUSE="static-libs test"
 RESTRICT="!test? ( test )"
 

Reply via email to