public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/svt-av1] epel9-next: Use upstream patch to fix rhbz#1927739
@ 2026-07-14 21:52
0 siblings, 0 replies; only message in thread
From: @ 2026-07-14 21:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/svt-av1
Branch : epel9-next
Commit : 34d10626f8a4b1cb106ddebf36aa9fa0a07ca8c7
Author : Robert-André Mauchin <zebob.m@gmail.com>
Date : 2021-02-17T21:36:21+01:00
Stats : +35/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/svt-av1/c/34d10626f8a4b1cb106ddebf36aa9fa0a07ca8c7?branch=epel9-next
Log:
Use upstream patch to fix rhbz#1927739
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
---
diff --git a/0001-mark-as-noexec.patch b/0001-mark-as-noexec.patch
new file mode 100644
index 0000000..63d864b
--- /dev/null
+++ b/0001-mark-as-noexec.patch
@@ -0,0 +1,29 @@
+From 8f9acb7a6215c49297f9cb6c574150e48d8f5b76 Mon Sep 17 00:00:00 2001
+From: Christopher Degawa <christopher.degawa@intel.com>
+Date: Wed, 17 Feb 2021 13:54:28 -0600
+Subject: [PATCH] x64inc: mark as noexec
+
+ports https://github.com/OpenVisualCloud/SVT-HEVC/commit/f8f2a91c53b0223a40add8545c994172a44c6091
+and fixes https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1690
+
+Signed-off-by: Christopher Degawa <christopher.degawa@intel.com>
+---
+ Source/Lib/Common/ASM_SSE2/x64inc.asm | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/Source/Lib/Common/ASM_SSE2/x64inc.asm b/Source/Lib/Common/ASM_SSE2/x64inc.asm
+index 57baf784..37cfbffc 100644
+--- a/Source/Lib/Common/ASM_SSE2/x64inc.asm
++++ b/Source/Lib/Common/ASM_SSE2/x64inc.asm
+@@ -368,3 +368,8 @@ bits 64
+ %endif
+ %endmacro
+ %define NEED_EMMS 1
++
++; This is needed for ELF, otherwise the GNU linker assumes the stack is executable by default.
++%if FORMAT_ELF
++ [SECTION .note.GNU-stack noalloc noexec nowrite progbits]
++%endif
+--
+GitLab
+
diff --git a/svt-av1.spec b/svt-av1.spec
index f92d9b8..6ead50c 100644
--- a/svt-av1.spec
+++ b/svt-av1.spec
@@ -6,7 +6,7 @@ encoding / transcoding video applications.}
Name: svt-av1
Version: 0.8.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Scalable Video Technology for AV1 Encoder
# Main library: BSD-2-Clause-Patent
@@ -19,6 +19,8 @@ Summary: Scalable Video Technology for AV1 Encoder
License: BSD-2-Clause-Patent and BSD and MIT and ISC and Public Domain
URL: https://github.com/AOMediaCodec/SVT-AV1
Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz
+# x64inc: mark as noexec
+Patch0: https://gitlab.com/1480c1/SVT-AV1/-/commit/8f9acb7a6215c49297f9cb6c574150e48d8f5b76.patch#/0001-mark-as-noexec.patch
# 64Bits, 5th Generation Intel® Core™ processor only
ExclusiveArch: x86_64
@@ -65,7 +67,6 @@ sed -e "s|install: true,|install: true, include_directories : [ include_director
-e "/svtav1enc_dep =/d" -e 's|, svtav1enc_dep||' -e "s|svtav1enc_dep.found()|true|" -i gstreamer-plugin/meson.build
%build
-export LDFLAGS="%build_ldflags -Wl,-znoexecstack"
%cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
%cmake_build
@@ -112,6 +113,9 @@ popd
%{_libdir}/gstreamer-1.0/libgstsvtav1enc.so
%changelog
+* Wed Feb 17 21:30:29 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.6-4
+- Use upstream patch to fix rhbz#1927739
+
* Wed Feb 17 18:28:38 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.6-3
- Add noexecstack
- Fix: rhbz#1927739
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-14 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 21:52 [rpms/svt-av1] epel9-next: Use upstream patch to fix rhbz#1927739
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox