summaryrefslogtreecommitdiff
path: root/databases/ldb29/files/patch-lib_replace_wscript
diff options
context:
space:
mode:
authorXavier Beaudouin <kiwi@FreeBSD.org>2025-01-28 10:19:34 +0100
committerXavier Beaudouin <kiwi@FreeBSD.org>2025-01-30 15:41:57 +0100
commit00b64ce160e6b4f2dc878bb27640ded614b4c7a9 (patch)
tree3b2372f760f4812a9f376a369a3334f97b0121f3 /databases/ldb29/files/patch-lib_replace_wscript
parentdatabases/tdb1410: Update to 1.4.10 (diff)
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
Diffstat (limited to 'databases/ldb29/files/patch-lib_replace_wscript')
-rw-r--r--databases/ldb29/files/patch-lib_replace_wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/ldb29/files/patch-lib_replace_wscript b/databases/ldb29/files/patch-lib_replace_wscript
new file mode 100644
index 000000000000..cf9834979d44
--- /dev/null
+++ b/databases/ldb29/files/patch-lib_replace_wscript
@@ -0,0 +1,11 @@
+--- lib/replace/wscript.orig 2022-10-24 10:21:14 UTC
++++ lib/replace/wscript
+@@ -122,7 +122,7 @@ def configure(conf):
+ conf.CHECK_HEADERS('sys/atomic.h stdatomic.h')
+ conf.CHECK_HEADERS('libgen.h')
+
+- if conf.CHECK_CFLAGS('-Wno-format-truncation'):
++ if conf.CHECK_CFLAGS(['-Wno-format-truncation'] + conf.env.WERROR_CFLAGS):
+ conf.define('HAVE_WNO_FORMAT_TRUNCATION', '1')
+
+ if conf.CHECK_CFLAGS('-Wno-unused-function'):