summaryrefslogtreecommitdiff
path: root/riscv-dav1d.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
commit644c757ffb94ff2f452976228fee9bbdfba762fa (patch)
tree205f3dbf342b9ae0c59e71ddbc9394b2dd415951 /riscv-dav1d.patch
parente9abc6c72d6b470c59f4c9e9b5af6dfe5d1a75b2 (diff)
automatic import of chromium
Diffstat (limited to 'riscv-dav1d.patch')
-rw-r--r--riscv-dav1d.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/riscv-dav1d.patch b/riscv-dav1d.patch
new file mode 100644
index 0000000..e20413d
--- /dev/null
+++ b/riscv-dav1d.patch
@@ -0,0 +1,53 @@
+Index: chromium-113.0.5672.92/third_party/dav1d/config/linux/riscv64/config.h
+===================================================================
+--- /dev/null
++++ chromium-113.0.5672.92/third_party/dav1d/config/linux/riscv64/config.h
+@@ -0,0 +1,48 @@
++/*
++ * Autogenerated by the Meson build system.
++ * Do not edit, your changes will be lost.
++ */
++
++#pragma once
++
++#define ARCH_AARCH64 0
++
++#define ARCH_ARM 0
++
++#define ARCH_PPC64LE 0
++
++#define ARCH_X86 0
++
++#define ARCH_X86_32 0
++
++#define ARCH_X86_64 0
++
++#define CONFIG_16BPC 1
++
++#define CONFIG_8BPC 1
++
++// #define CONFIG_LOG 1 -- Logging is controlled by Chromium
++
++#define ENDIANNESS_BIG 0
++
++#define HAVE_ASM 0
++
++#define HAVE_AS_FUNC 0
++
++#define HAVE_C11_GENERIC 1
++
++#define HAVE_CLOCK_GETTIME 1
++
++#define HAVE_DLSYM 1
++
++#define HAVE_GETAUXVAL 1
++
++#define HAVE_POSIX_MEMALIGN 1
++
++// #define HAVE_PTHREAD_GETAFFINITY_NP 1 -- Controlled by Chomium
++
++// #define HAVE_PTHREAD_SETAFFINITY_NP 1 -- Controlled by Chomium
++
++#define HAVE_UNISTD_H 1
++
++#define TRIM_DSP_FUNCTIONS 1