aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-02-20 11:35:15 +0000
committerRene Ladan <rene@FreeBSD.org>2022-02-20 11:54:22 +0000
commit38a7a67b581c720d02ecf1f235f6ed51434e937e (patch)
tree686f2a16d7c997dd0937049cc89b15448f4b2117 /www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h
parent39da6a867124a65a9b365a2de9363cdd2978bc70 (diff)
downloadports-38a7a67b581c720d02ecf1f235f6ed51434e937e.tar.gz
ports-38a7a67b581c720d02ecf1f235f6ed51434e937e.zip
Diffstat (limited to 'www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h')
-rw-r--r--www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h b/www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h
new file mode 100644
index 000000000000..a23eccf2e501
--- /dev/null
+++ b/www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_strutil.h
@@ -0,0 +1,18 @@
+--- third_party/protobuf/src/google/protobuf/stubs/strutil.h.orig 2022-02-07 13:39:41 UTC
++++ third_party/protobuf/src/google/protobuf/stubs/strutil.h
+@@ -373,13 +373,13 @@ inline uint32 strtou32(const char *nptr, char **endptr
+ inline int64 strto64(const char *nptr, char **endptr, int base) {
+ GOOGLE_COMPILE_ASSERT(sizeof(int64) == sizeof(long long),
+ sizeof_int64_is_not_sizeof_long_long);
+- return strtoll(nptr, endptr, base);
++ return std::strtoll(nptr, endptr, base);
+ }
+
+ inline uint64 strtou64(const char *nptr, char **endptr, int base) {
+ GOOGLE_COMPILE_ASSERT(sizeof(uint64) == sizeof(unsigned long long),
+ sizeof_uint64_is_not_sizeof_long_long);
+- return strtoull(nptr, endptr, base);
++ return std::strtoull(nptr, endptr, base);
+ }
+
+ // ----------------------------------------------------------------------