mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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@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@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
16cee051bd
commit
67bcdf478f
@@ -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
|
||||
|
||||
@@ -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" <amy@centricular.com>
|
||||
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
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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 )"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user