diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
| commit | e81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch) | |
| tree | 763d6d68516ca9d184ddd2402978adcc4027a99d /www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake | |
| parent | 92e45e47c29ec037842c4a34ebc0c14143d413ff (diff) | |
This is due to the following two reasons:
1. it's very out of date compared with current ports tree (like by 2+
years!)
- some of the ports here were mainly just updates I didn't upstream,
which have since now been part of openbsd, like verilator
2. removing dependencies is a lot of headache to stay in sync and/or for
ports I no longer use
- e.g. dbus is very difficult to remove in a desktop while patching
to remove from gtk and downstream
- I don't want to spend more time reducing number of dependencies
when I can be working instead. I no longer have as much free time
as I did in high school :(
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake')
| -rw-r--r-- | www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake deleted file mode 100644 index 8728620..0000000 --- a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | Index: Source/cmake/WebKitCommon.cmake | ||
| 2 | --- Source/cmake/WebKitCommon.cmake.orig | ||
| 3 | +++ Source/cmake/WebKitCommon.cmake | ||
| 4 | @@ -110,7 +110,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | ||
| 5 | endif () | ||
| 6 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") | ||
| 7 | set(WTF_CPU_X86 1) | ||
| 8 | - elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc") | ||
| 9 | + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc|powerpc)") | ||
| 10 | set(WTF_CPU_PPC 1) | ||
| 11 | elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") | ||
| 12 | set(WTF_CPU_PPC64 1) | ||
| 13 | @@ -120,6 +120,8 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | ||
| 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") | ||
| 18 | + set(WTF_CPU_SPARC64 1) | ||
| 19 | else () | ||
| 20 | set(WTF_CPU_UNKNOWN 1) | ||
| 21 | endif () | ||
| 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 | ||
| 24 | # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro | ||
| 25 | # for finding only the Ruby interpreter. | ||
| 26 | - find_package(Ruby 2.5) | ||
| 27 | - if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 2.5) | ||
| 28 | - message(FATAL_ERROR "Ruby 2.5 or higher is required.") | ||
| 29 | + find_package(Ruby ${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.") | ||
| 32 | endif () | ||
| 33 | |||
| 34 | # ----------------------------------------------------------------------------- | ||
| 35 | @@ -206,7 +208,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) | ||
| 36 | include(CheckCXXCompilerFlag) | ||
| 37 | include(CheckCXXSourceCompiles) | ||
| 38 | include(CheckFunctionExists) | ||
| 39 | - include(CheckIncludeFile) | ||
| 40 | + include(CheckIncludeFiles) | ||
| 41 | include(CheckSymbolExists) | ||
| 42 | include(CheckStructHasMember) | ||
| 43 | include(CheckTypeSize) | ||
