1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 11:10:32 -04:00
ports/databases/ldb25/files/patch-lib_replace_replace.c
Xavier Beaudouin fcceba49c9 databases/ldb25: Add port, needed for noldb flavor of Samba
Sponsored by:		Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D43748
2024-03-12 20:42:41 +01:00

20 lines
579 B
C

--- 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)
{