diff options
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake')
| -rw-r--r-- | www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake index bb632b0..8728620 100644 --- a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake +++ b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Index: Source/cmake/WebKitCommon.cmake | 1 | Index: Source/cmake/WebKitCommon.cmake |
| 2 | --- Source/cmake/WebKitCommon.cmake.orig | 2 | --- Source/cmake/WebKitCommon.cmake.orig |
| 3 | +++ Source/cmake/WebKitCommon.cmake | 3 | +++ Source/cmake/WebKitCommon.cmake |
| 4 | @@ -111,7 +111,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | 4 | @@ -110,7 +110,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) |
| 5 | endif () | 5 | endif () |
| 6 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") | 6 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") |
| 7 | set(WTF_CPU_X86 1) | 7 | set(WTF_CPU_X86 1) |
| @@ -10,29 +10,29 @@ Index: Source/cmake/WebKitCommon.cmake | |||
| 10 | set(WTF_CPU_PPC 1) | 10 | set(WTF_CPU_PPC 1) |
| 11 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") | 11 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") |
| 12 | set(WTF_CPU_PPC64 1) | 12 | set(WTF_CPU_PPC64 1) |
| 13 | @@ -119,6 +119,8 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | 13 | @@ -120,6 +120,8 @@ if (NOT HAS_RUN_WEBKIT_COMMON) |
| 14 | set(WTF_CPU_PPC64LE 1) | ||
| 15 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^riscv64") | ||
| 16 | set(WTF_CPU_RISCV64 1) | 14 | set(WTF_CPU_RISCV64 1) |
| 15 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^loongarch64") | ||
| 16 | set(WTF_CPU_LOONGARCH64 1) | ||
| 17 | + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sparc64") | 17 | + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sparc64") |
| 18 | + set(WTF_CPU_SPARC64 1) | 18 | + set(WTF_CPU_SPARC64 1) |
| 19 | else () | 19 | else () |
| 20 | set(WTF_CPU_UNKNOWN 1) | 20 | set(WTF_CPU_UNKNOWN 1) |
| 21 | endif () | 21 | endif () |
| 22 | @@ -190,9 +192,9 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | 22 | @@ -191,9 +193,9 @@ if (NOT HAS_RUN_WEBKIT_COMMON) |
| 23 | # We cannot check for RUBY_FOUND because it is set only when the full package is installed and | 23 | # We cannot check for RUBY_FOUND because it is set only when the full package is installed and |
| 24 | # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro | 24 | # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro |
| 25 | # for finding only the Ruby interpreter. | 25 | # for finding only the Ruby interpreter. |
| 26 | - find_package(Ruby 1.9) | 26 | - find_package(Ruby 2.5) |
| 27 | - if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 1.9) | 27 | - if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 2.5) |
| 28 | - message(FATAL_ERROR "Ruby 1.9 or higher is required.") | 28 | - message(FATAL_ERROR "Ruby 2.5 or higher is required.") |
| 29 | + find_package(Ruby ${MODRUBY_LIBREV}) | 29 | + find_package(Ruby ${MODRUBY_LIBREV}) |
| 30 | + if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS ${MODRUBY_LIBREV}) | 30 | + if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS ${MODRUBY_LIBREV}) |
| 31 | + message(FATAL_ERROR "Ruby ${MODRUBY_LIBREV} or higher is required.") | 31 | + message(FATAL_ERROR "Ruby ${MODRUBY_LIBREV} or higher is required.") |
| 32 | endif () | 32 | endif () |
| 33 | 33 | ||
| 34 | # ----------------------------------------------------------------------------- | 34 | # ----------------------------------------------------------------------------- |
| 35 | @@ -204,7 +206,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | 35 | @@ -206,7 +208,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) |
| 36 | include(CheckCXXCompilerFlag) | 36 | include(CheckCXXCompilerFlag) |
| 37 | include(CheckCXXSourceCompiles) | 37 | include(CheckCXXSourceCompiles) |
| 38 | include(CheckFunctionExists) | 38 | include(CheckFunctionExists) |
