git: 98376a10ad6f - main - www/webkit2-gtk4: Fix build on 12.x/i386

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 19:22:31 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98376a10ad6f3e2aac8709f3f58e14c9095e452e

commit 98376a10ad6f3e2aac8709f3f58e14c9095e452e
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2023-02-07 19:21:12 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2023-02-07 19:22:08 +0000

    www/webkit2-gtk4: Fix build on 12.x/i386
    
    PR:     269388
---
 ...h-Source_JavaScriptCore_API_glib_JSCOptions.cpp | 36 ----------------------
 1 file changed, 36 deletions(-)

diff --git a/www/webkit2-gtk4/files/patch-Source_JavaScriptCore_API_glib_JSCOptions.cpp b/www/webkit2-gtk4/files/patch-Source_JavaScriptCore_API_glib_JSCOptions.cpp
deleted file mode 100644
index 9818d88c18ae..000000000000
--- a/www/webkit2-gtk4/files/patch-Source_JavaScriptCore_API_glib_JSCOptions.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-Unbreak i386:
-- revert https://trac.webkit.org/changeset/241014/webkit
-- https://bugs.webkit.org/show_bug.cgi?id=194330
-
-Index: Source/JavaScriptCore/API/glib/JSCOptions.cpp
---- Source/JavaScriptCore/API/glib/JSCOptions.cpp.orig
-+++ Source/JavaScriptCore/API/glib/JSCOptions.cpp
-@@ -73,7 +73,6 @@ static void valueToGValue(int32_t value, GValue* gValu
-     g_value_set_int(gValue, value);
- }
- 
--#if CPU(ADDRESS64)
- static bool valueFromGValue(const GValue* gValue, unsigned& value)
- {
-     value = g_value_get_uint(gValue);
-@@ -84,7 +83,6 @@ static void valueToGValue(unsigned value, GValue* gVal
- {
-     g_value_set_uint(gValue, value);
- }
--#endif
- 
- static bool valueFromGValue(const GValue* gValue, size_t& value)
- {
-@@ -556,12 +554,10 @@ static JSCOptionType jscOptionsType(int)
-     return JSC_OPTION_INT;
- }
- 
--#if CPU(ADDRESS64)
- static JSCOptionType jscOptionsType(unsigned)
- {
-     return JSC_OPTION_UINT;
- }
--#endif
- 
- static JSCOptionType jscOptionsType(size_t)
- {