From c8ad6815d867fab56e655382cfd74c1d5489f46f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 23 Nov 2022 09:05:38 +0100 Subject: [PATCH] upload missing patches --- chromium-107.0.5304.110-cstring-memset.patch | 11 +++++++++++ chromium-107.0.5304.110-neon_2_sse.patch | 12 ++++++++++++ chromium-107.0.5304.110-wayland-fcntl.patch | 17 +++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 chromium-107.0.5304.110-cstring-memset.patch create mode 100644 chromium-107.0.5304.110-neon_2_sse.patch create mode 100644 chromium-107.0.5304.110-wayland-fcntl.patch diff --git a/chromium-107.0.5304.110-cstring-memset.patch b/chromium-107.0.5304.110-cstring-memset.patch new file mode 100644 index 00000000..3cef5ef3 --- /dev/null +++ b/chromium-107.0.5304.110-cstring-memset.patch @@ -0,0 +1,11 @@ +diff -up chromium-107.0.5304.110/remoting/codec/video_encoder_active_map.cc.me chromium-107.0.5304.110/remoting/codec/video_encoder_active_map.cc +--- chromium-107.0.5304.110/remoting/codec/video_encoder_active_map.cc.me 2022-11-20 19:17:37.781264509 +0100 ++++ chromium-107.0.5304.110/remoting/codec/video_encoder_active_map.cc 2022-11-20 19:18:12.040865033 +0100 +@@ -6,6 +6,7 @@ + + #include + #include ++#include + + #include "base/check_op.h" + #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" diff --git a/chromium-107.0.5304.110-neon_2_sse.patch b/chromium-107.0.5304.110-neon_2_sse.patch new file mode 100644 index 00000000..689d1c1b --- /dev/null +++ b/chromium-107.0.5304.110-neon_2_sse.patch @@ -0,0 +1,12 @@ +diff -up iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h.me iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h +--- iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h.me 2022-11-18 22:17:57.883182823 +0100 ++++ iridium-browser-2022.11.107/third_party/neon_2_sse/src/NEON_2_SSE.h 2022-11-18 22:18:51.883143167 +0100 +@@ -2292,7 +2292,7 @@ _NEON2SSESTORAGE float64x2_t vsqrtq_f64( + // the following macros solve the problem of the "immediate parameters requirement" for some x86 intrinsics. + // we need it to compile the code unless the "Intrinsic parameter must be an immediate value" error is our goal + // +-#if ( defined (__INTEL_COMPILER) || defined (__GNUC__) && !defined(__llvm__) ) ++#if ( defined (__INTEL_COMPILER) && !defined(__llvm__) ) + # define _MM_ALIGNR_EPI8 _mm_alignr_epi8 + # define _MM_EXTRACT_EPI16 (int16_t) _mm_extract_epi16 + # define _MM_INSERT_EPI16 _mm_insert_epi16 diff --git a/chromium-107.0.5304.110-wayland-fcntl.patch b/chromium-107.0.5304.110-wayland-fcntl.patch new file mode 100644 index 00000000..7cd2f030 --- /dev/null +++ b/chromium-107.0.5304.110-wayland-fcntl.patch @@ -0,0 +1,17 @@ +diff -up iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c.me iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c +--- iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c.me 2022-11-18 12:07:56.724329365 +0100 ++++ iridium-browser-2022.11.107/third_party/wayland/src/src/wayland-shm.c 2022-11-18 12:18:38.009916441 +0100 +@@ -45,6 +45,13 @@ + #include + #include + ++#ifndef F_GET_SEALS ++#define F_GET_SEALS 1034 /* Get seals for file. */ ++#endif ++#ifndef F_SEAL_SHRINK ++#define F_SEAL_SHRINK 0x0002 /* Prevent file from shrinking. */ ++#endif ++ + #include "wayland-util.h" + #include "wayland-private.h" + #include "wayland-server.h"