aboutsummaryrefslogtreecommitdiff
path: root/devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc')
-rw-r--r--devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc b/devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc
new file mode 100644
index 000000000000..b33c5cb1bc09
--- /dev/null
+++ b/devel/electron39/files/patch-base_strings_safe__sprintf__unittest.cc
@@ -0,0 +1,18 @@
+--- base/strings/safe_sprintf_unittest.cc.orig 2025-10-21 20:19:54 UTC
++++ base/strings/safe_sprintf_unittest.cc
+@@ -747,6 +747,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) {
+ #endif
+ }
+
++#if !BUILDFLAG(IS_BSD)
+ TEST(SafeSPrintfTest, EmitNULL) {
+ char buf[40];
+ #if defined(__GNUC__)
+@@ -763,6 +764,7 @@ TEST(SafeSPrintfTest, EmitNULL) {
+ #pragma GCC diagnostic pop
+ #endif
+ }
++#endif
+
+ TEST(SafeSPrintfTest, PointerSize) {
+ // The internal data representation is a 64bit value, independent of the