pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

webkit-gtk: add patch for i386, requested by Lubo



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Feb 4 21:58:43 2026 +0100
Changeset:	879d67fa41dc4062e7742cb346aec72808783076

Modified Files:
	webkit-gtk/distinfo
Added Files:
	webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp

Log Message:
webkit-gtk: add patch for i386, requested by Lubo

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=879d67fa41dc4062e7742cb346aec72808783076

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 webkit-gtk/distinfo                                       |  1 +
 .../patch-Source_JavaScriptCore_runtime_MathCommon.cpp    | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/webkit-gtk/distinfo b/webkit-gtk/distinfo
index 8522d18ccf..3aa0fb8ded 100644
--- a/webkit-gtk/distinfo
+++ b/webkit-gtk/distinfo
@@ -6,6 +6,7 @@ Size (webkitgtk-2.50.4.tar.xz) = 45280588 bytes
 SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 20d09e1c226cfff707659ffa35a2c2c3f1cdb617
 SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = 5c96cbf6c426b75fe808f6cb4acc9075a264796a
 SHA1 (patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h) = 4d0a96c42f4532d0e5b385e75421df1968860a1b
+SHA1 (patch-Source_JavaScriptCore_runtime_MathCommon.cpp) = 4535d1aed5e92da2d459097516ee01d9faddfd0d
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_SimpleMutex.h) = 6cd83b9ec476ed39adecec6b30e898bda8e5b76d
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_platform.h) = 2fda057edc3dde3356f0663ec5aa52cb61fb1229
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp) = ec16428e501a85281a288dc38c1da12485a1b746
diff --git a/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp b/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp
new file mode 100644
index 0000000000..6bd08b1459
--- /dev/null
+++ b/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- Source/JavaScriptCore/runtime/MathCommon.cpp.orig	2025-08-08 09:17:51.608548200 +0000
++++ Source/JavaScriptCore/runtime/MathCommon.cpp
+@@ -626,8 +626,8 @@ static inline double roundeven(double operand)
+ }
+ #endif
+ 
+-JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f32_roundeven, float, (float operand)) { return roundevenf(operand); }
+-JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_roundeven, double, (double operand)) { return roundeven(operand); }
++JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f32_roundeven, float, (float operand)) { return f32_roundeven(operand); }
++JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_roundeven, double, (double operand)) { return f64_roundeven(operand); }
+ JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f32_trunc, float, (float operand)) { return std::trunc(operand); }
+ JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_trunc, double, (double operand)) { return std::trunc(operand); }
+ 


Home | Main Index | Thread Index | Old Index