From dc769b5526386090c07b8cbd17c73b7a601ec76d Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sat, 27 Jul 2024 11:39:29 +0200 Subject: [PATCH] remove old patch for el8 --- chromium-124-el8-libdav1d-aarch64.patch | 53 ------------------------- chromium.spec | 3 -- 2 files changed, 56 deletions(-) delete mode 100644 chromium-124-el8-libdav1d-aarch64.patch diff --git a/chromium-124-el8-libdav1d-aarch64.patch b/chromium-124-el8-libdav1d-aarch64.patch deleted file mode 100644 index 03862e93..00000000 --- a/chromium-124-el8-libdav1d-aarch64.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- chromium-124.0.6367.60/third_party/dav1d/libdav1d/src/arm/asm.S 2024-04-15 22:34:36.000000000 +0200 -+++ chromium-122.0.6261.128/third_party/dav1d/libdav1d/src/arm/asm.S 2024-03-13 00:38:27.000000000 +0100 -@@ -34,50 +34,6 @@ - #define x18 do_not_use_x18 - #define w18 do_not_use_w18 - --#if HAVE_AS_ARCH_DIRECTIVE -- .arch AS_ARCH_LEVEL --#endif -- --#if HAVE_AS_ARCHEXT_DOTPROD_DIRECTIVE --#define ENABLE_DOTPROD .arch_extension dotprod --#define DISABLE_DOTPROD .arch_extension nodotprod --#else --#define ENABLE_DOTPROD --#define DISABLE_DOTPROD --#endif --#if HAVE_AS_ARCHEXT_I8MM_DIRECTIVE --#define ENABLE_I8MM .arch_extension i8mm --#define DISABLE_I8MM .arch_extension noi8mm --#else --#define ENABLE_I8MM --#define DISABLE_I8MM --#endif --#if HAVE_AS_ARCHEXT_SVE_DIRECTIVE --#define ENABLE_SVE .arch_extension sve --#define DISABLE_SVE .arch_extension nosve --#else --#define ENABLE_SVE --#define DISABLE_SVE --#endif --#if HAVE_AS_ARCHEXT_SVE2_DIRECTIVE --#define ENABLE_SVE2 .arch_extension sve2 --#define DISABLE_SVE2 .arch_extension nosve2 --#else --#define ENABLE_SVE2 --#define DISABLE_SVE2 --#endif -- --/* If we do support the .arch_extension directives, disable support for all -- * the extensions that we may use, in case they were implicitly enabled by -- * the .arch level. This makes it clear if we try to assemble an instruction -- * from an unintended extension set; we only allow assmbling such instructions -- * within regions where we explicitly enable those extensions. */ --DISABLE_DOTPROD --DISABLE_I8MM --DISABLE_SVE --DISABLE_SVE2 -- -- - /* Support macros for - * - Armv8.3-A Pointer Authentication and - * - Armv8.5-A Branch Target Identification diff --git a/chromium.spec b/chromium.spec index 43df6131..bc1da5d3 100644 --- a/chromium.spec +++ b/chromium.spec @@ -374,8 +374,6 @@ Patch150: chromium-124-qt6.patch # it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found Patch305: chromium-124-el8-arm64-memory_tagging.patch Patch306: chromium-127-el8-ifunc-header.patch -# build error: unknown architectural extension on aarch64 (epel8) -Patch307: chromium-124-el8-libdav1d-aarch64.patch # 64kpage support on aarch64 (el8) Patch308: chromium-124-el8-support-64kpage.patch @@ -1113,7 +1111,6 @@ Qt6 UI for chromium. %ifarch aarch64 %patch -P305 -p1 -b .el8-memory_tagging %patch -P306 -p1 -b .el8-ifunc-header -%patch -P307 -p1 -b .el8-libdav1d-aarch64 %patch -P308 -p1 -b .el8-support-64kpage.patch %endif %endif