qt6-webengine: make sure to disable safe_browsing_mode by default.
This commit is contained in:
parent
60defcbb80
commit
f058590d83
2 changed files with 16 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
@ -22,8 +22,8 @@ VERSION=5
|
|||
|
||||
. ./config
|
||||
|
||||
# 'safe_browsing_mode=0' already present by default via
|
||||
# 'src/core/CMakeLists.txt'
|
||||
# disable safe_browsing_mode by default.
|
||||
patch_p1 $DATA/001-disable_safe_browsing_mode.patch
|
||||
|
||||
#Increase parallel restriction (it fails at full speed).
|
||||
sed -i 's|j2|j4|' debian/rules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue