Accepting request 702711 from multimedia:libs
- Added dav1d.armv6.patch (disables armv7 asm for armv6 builds) OBS-URL: https://build.opensuse.org/request/show/702711 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dav1d?expand=0&rev=8
This commit is contained in:
commit
00c3c74c5a
18
dav1d.armv6.patch
Normal file
18
dav1d.armv6.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- a/tests/checkasm/checkasm.h
|
||||||
|
+++ b/tests/checkasm/checkasm.h
|
||||||
|
@@ -145,6 +145,7 @@ static inline uint64_t readtime(void) {
|
||||||
|
#define readtime readtime
|
||||||
|
#endif
|
||||||
|
#elif ARCH_ARM && !defined(_MSC_VER)
|
||||||
|
+#if __ARM_ARCH > 6
|
||||||
|
static inline uint64_t readtime(void) {
|
||||||
|
uint32_t cycle_counter;
|
||||||
|
/* This requires enabling user mode access to the cycle counter (which
|
||||||
|
@@ -156,6 +157,7 @@ static inline uint64_t readtime(void) {
|
||||||
|
}
|
||||||
|
#define readtime readtime
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* Verifies that clobbered callee-saved registers
|
||||||
|
* are properly saved and restored */
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 13 19:48:51 UTC 2019 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Added dav1d.armv6.patch (disables armv7 asm for armv6 builds)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 11 16:06:40 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
Sat May 11 16:06:40 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ Group: Productivity/Multimedia/Video/Editors and Convertors
|
|||||||
URL: https://code.videolan.org/videolan/dav1d
|
URL: https://code.videolan.org/videolan/dav1d
|
||||||
Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz
|
Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
# PATCH-FIX-UPSTREAM dav1d.armv6.patch olaf@aepfle.de -- disable armv7 asm for armv6 builds
|
||||||
|
Patch0: dav1d.armv6.patch
|
||||||
BuildRequires: meson >= 0.47.0
|
BuildRequires: meson >= 0.47.0
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -60,7 +62,7 @@ Group: System/Libraries
|
|||||||
%{name} is an AV1 decoder library.
|
%{name} is an AV1 decoder library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
|
Loading…
Reference in New Issue
Block a user