diff options
author | Xavier Beaudouin <xavier.beaudouin@klarasystems.com> | 2024-03-12 20:27:58 +0100 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-03-12 20:42:41 +0100 |
commit | fcceba49c9c175ecd36f7bb04c4aac822b283589 (patch) | |
tree | d013c0e1ca4475fbcecd3faa44b7bbd953a5ebee /databases/ldb25/files/patch-lib_replace_wscript | |
parent | deskutils/pet: update 0.5.0 → 0.7.0 (diff) |
databases/ldb25: Add port, needed for noldb flavor of Samba
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D43748
Diffstat (limited to 'databases/ldb25/files/patch-lib_replace_wscript')
-rw-r--r-- | databases/ldb25/files/patch-lib_replace_wscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/ldb25/files/patch-lib_replace_wscript b/databases/ldb25/files/patch-lib_replace_wscript new file mode 100644 index 000000000000..cf9834979d44 --- /dev/null +++ b/databases/ldb25/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'): |