ports/databases/ldb29/files/patch-lib_replace_replace.c
Xavier Beaudouin 00b64ce160 database/ldb29: LDAP-Like embedded database
ldb is a LDAP-like embedded database.

ldb provides a fast database with an LDAP-like API designed to be used
within an application.

In some ways it can be seen as a intermediate solution between key-value
pair databases and a real LDAP database.

This port is needed for Samba 4.20.

This commit is just a repocopy. I will update the port to the correct
version and connect it to the build in the next commit.

PR:		280533
Sponsored by:	Klara, Inc.
Approved by:	0mp (mentor)
Approved by:	samba (0mp, kiwi)
Differential Revision:	https://reviews.freebsd.org/D48656
2025-01-30 15:41:57 +01:00

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