[packages/svt-vp9] - added x32 patch
qboosh
qboosh at pld-linux.org
Mon Apr 4 21:17:13 CEST 2022
commit 048cdd788ceb071ba42c2ce63b345db0a3c6fdc0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 4 21:17:09 2022 +0200
- added x32 patch
svt-vp9-x32.patch | 11 +++++++++++
svt-vp9.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/svt-vp9.spec b/svt-vp9.spec
index e82cbcb..a4ef9ac 100644
--- a/svt-vp9.spec
+++ b/svt-vp9.spec
@@ -8,6 +8,7 @@ Group: Libraries
#Source0Download: https://github.com/OpenVisualCloud/SVT-VP9/releases
Source0: https://github.com/OpenVisualCloud/SVT-VP9/archive/v%{version}/SVT-VP9-%{version}.tar.gz
# Source0-md5: 1490ef3d1ce01ff06fd289a0df46870f
+Patch0: %{name}-x32.patch
URL: https://github.com/OpenVisualCloud/SVT-VP9
BuildRequires: cmake >= 2.8
BuildRequires: rpmbuild(macros) >= 1.605
@@ -41,6 +42,7 @@ Pliki nagłówkowe biblioteki SVT-VP9.
%prep
%setup -q -n SVT-VP9-%{version}
+%patch0 -p1
%build
install -d build
diff --git a/svt-vp9-x32.patch b/svt-vp9-x32.patch
new file mode 100644
index 0000000..ca71c10
--- /dev/null
+++ b/svt-vp9-x32.patch
@@ -0,0 +1,11 @@
+--- SVT-VP9-0.3.0/Source/Lib/ASM_SSE2/x86inc.asm.orig 2020-10-30 02:51:10.000000000 +0100
++++ SVT-VP9-0.3.0/Source/Lib/ASM_SSE2/x86inc.asm 2022-04-04 21:14:18.238979753 +0200
+@@ -158,6 +158,8 @@ CONFIG_NON_GREEDY_MV equ 0
+ %define FORMAT_ELF 1
+ %elifidn __OUTPUT_FORMAT__,elf64
+ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elfx32
++ %define FORMAT_ELF 1
+ %endif
+
+ %define FORMAT_MACHO 0
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/svt-vp9.git/commitdiff/048cdd788ceb071ba42c2ce63b345db0a3c6fdc0
More information about the pld-cvs-commit
mailing list