* update wpewebkit to 2.40.1-1
This commit is contained in:
parent
b936c832f4
commit
2ca3cce84d
28
wpewebkit/prefer-pthread.patch
Normal file
28
wpewebkit/prefer-pthread.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From: Alberto Garcia <berto@igalia.com>
|
||||
Description: Enable THREADS_PREFER_PTHREAD_FLAG
|
||||
This fixes a FTBFS in riscv64
|
||||
Bug: https://bugs.webkit.org/show_bug.cgi?id=182622
|
||||
Bug-Debian: https://bugs.debian.org/895969
|
||||
Origin: https://trac.webkit.org/changeset/231843
|
||||
Index: webkitgtk/Source/cmake/OptionsWPE.cmake
|
||||
===================================================================
|
||||
--- webkitgtk.orig/Source/cmake/OptionsWPE.cmake
|
||||
+++ webkitgtk/Source/cmake/OptionsWPE.cmake
|
||||
@@ -11,6 +11,8 @@ endif ()
|
||||
|
||||
set(USER_AGENT_BRANDING "" CACHE STRING "Branding to add to user agent string")
|
||||
|
||||
+set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
+
|
||||
find_package(Cairo 1.14.0 REQUIRED)
|
||||
find_package(Fontconfig 2.8.0 REQUIRED)
|
||||
find_package(Freetype 2.4.2 REQUIRED)
|
||||
Index: webkitgtk/Source/cmake/OptionsJSCOnly.cmake
|
||||
===================================================================
|
||||
--- webkitgtk.orig/Source/cmake/OptionsJSCOnly.cmake
|
||||
+++ webkitgtk/Source/cmake/OptionsJSCOnly.cmake
|
||||
@@ -1,3 +1,4 @@
|
||||
+set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
if (MSVC)
|
21
wpewebkit/reduce-memory-overheads.patch
Normal file
21
wpewebkit/reduce-memory-overheads.patch
Normal file
@ -0,0 +1,21 @@
|
||||
From: Alberto Garcia <berto@igalia.com>
|
||||
Subject: Reduce memory usage when not using the Gold linker
|
||||
Bug-Debian: https://bugs.debian.org/949621
|
||||
Forwarded: no
|
||||
Index: webkitgtk/Source/cmake/OptionsCommon.cmake
|
||||
===================================================================
|
||||
--- webkitgtk.orig/Source/cmake/OptionsCommon.cmake
|
||||
+++ webkitgtk/Source/cmake/OptionsCommon.cmake
|
||||
@@ -194,6 +194,12 @@ option(GCC_OFFLINEASM_SOURCE_MAP
|
||||
|
||||
option(USE_APPLE_ICU "Use Apple's internal ICU" ${APPLE})
|
||||
|
||||
+# Pass --reduce-memory-overheads to the bfd linker in order to save memory
|
||||
+if (NOT USE_LD_GOLD)
|
||||
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--reduce-memory-overheads")
|
||||
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--reduce-memory-overheads")
|
||||
+endif ()
|
||||
+
|
||||
# Enable the usage of OpenMP.
|
||||
# - At this moment, OpenMP is only used as an alternative implementation
|
||||
# to native threads for the parallelization of the SVG filters.
|
@ -1,30 +0,0 @@
|
||||
https://bugs.gentoo.org/903554
|
||||
https://github.com/WebKit/WebKit/pull/11910
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109307
|
||||
|
||||
From 0aa2fbaeb7cd103cda9907f8fa2248cd2209b22f Mon Sep 17 00:00:00 2001
|
||||
From: Martin Liska <mliska@suse.cz>
|
||||
Date: Fri, 24 Mar 2023 10:11:51 +0100
|
||||
Subject: [PATCH] gcc13: fix rejected code by using of an explicit ctor
|
||||
|
||||
The following code is invalid based on the analysis here:
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247#c5
|
||||
--- a/Source/WebCore/platform/graphics/SourceBrush.cpp
|
||||
+++ b/Source/WebCore/platform/graphics/SourceBrush.cpp
|
||||
@@ -65,12 +65,12 @@
|
||||
|
||||
void SourceBrush::setGradient(Ref<Gradient>&& gradient, const AffineTransform& spaceTransform)
|
||||
{
|
||||
- m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } };
|
||||
+ m_brush = Brush { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } };
|
||||
}
|
||||
|
||||
void SourceBrush::setPattern(Ref<Pattern>&& pattern)
|
||||
{
|
||||
- m_brush = { WTFMove(pattern) };
|
||||
+ m_brush = Brush { WTFMove(pattern) };
|
||||
}
|
||||
|
||||
WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush)
|
||||
|
Loading…
x
Reference in New Issue
Block a user