public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/svt-av1] epel9-next: Use upstream patch to fix rhbz#1927739
Date: Tue, 14 Jul 2026 21:52:29 GMT [thread overview]
Message-ID: <178406594943.1.9212183951986363123.rpms-svt-av1-34d10626f8a4@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-14 21:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178406594943.1.9212183951986363123.rpms-svt-av1-34d10626f8a4@fedoraproject.org \
--to=git-commits@fedoraproject.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