summaryrefslogtreecommitdiff
path: root/databases/ldb28/files/patch-lib_replace_replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ldb28/files/patch-lib_replace_replace.c')
-rw-r--r--databases/ldb28/files/patch-lib_replace_replace.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/ldb28/files/patch-lib_replace_replace.c b/databases/ldb28/files/patch-lib_replace_replace.c
new file mode 100644
index 000000000000..00c04853dfdf
--- /dev/null
+++ b/databases/ldb28/files/patch-lib_replace_replace.c
@@ -0,0 +1,20 @@
+--- lib/replace/replace.c.orig 2023-11-22 12:09:13 UTC
++++ lib/replace/replace.c
+@@ -560,6 +560,7 @@ long long int rep_strtoll(const char *str, char **endp
+
+
+ #ifndef HAVE_STRTOULL
++#warning NO_HAVE_STRTOULL
+ unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
+ {
+ #ifdef HAVE_STRTOUQ
+@@ -573,7 +574,9 @@ unsigned long long int rep_strtoull(const char *str, c
+ #endif
+ }
+ #else
++#warning HAVE_STROULL
+ #ifdef HAVE_BSD_STRTOLL
++#warning HAVE_BSD_STROLL
+ #undef strtoull
+ unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
+ {