qt6-webengine: make sure to disable safe_browsing_mode by default.

This commit is contained in:
Luis Guzmán 2025-01-17 01:40:42 +00:00
parent 60defcbb80
commit f058590d83
2 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,14 @@
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake_
index 320a84a2..804d9237 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake_
@@ -188,6 +188,9 @@ function(extend_gn_list outList)
endif()
message(DEBUG "extend_gn_list(${outList} ${GN_ARGS} CONDITION ${GN_CONDITION} ...): Evaluated to ${value}")
foreach(gnArg ${GN_ARGS})
+ if(NOT "${gnArg}" MATCHES "safe_browsing_mode")
+ set(${outList} "${${outList}}" "safe_browsing_mode=0")
+ endif()
set(${outList} "${${outList}}" "${gnArg}=${value}")
endforeach()
set(${outList} "${${outList}}" PARENT_SCOPE)

View file

@ -22,8 +22,8 @@ VERSION=5
. ./config . ./config
# 'safe_browsing_mode=0' already present by default via # disable safe_browsing_mode by default.
# 'src/core/CMakeLists.txt' patch_p1 $DATA/001-disable_safe_browsing_mode.patch
#Increase parallel restriction (it fails at full speed). #Increase parallel restriction (it fails at full speed).
sed -i 's|j2|j4|' debian/rules sed -i 's|j2|j4|' debian/rules