diff options
author | Timur I. Bakeyev <timur@FreeBSD.org> | 2020-04-04 01:12:04 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2020-04-04 01:12:04 +0000 |
commit | 2f73e9a39658df65f569b1f4f6fb42aadea205cc (patch) | |
tree | b1c0a736ab2a320e5a8795e49602ef14d49606bb /databases/ldb20/files/patch-lib_replace_wscript | |
parent | www/firefox: switch to rc3 (diff) |
Add databases/ldb20 port, needed for samba411.
Notes
Notes:
svn path=/head/; revision=530544
Diffstat (limited to 'databases/ldb20/files/patch-lib_replace_wscript')
-rw-r--r-- | databases/ldb20/files/patch-lib_replace_wscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/ldb20/files/patch-lib_replace_wscript b/databases/ldb20/files/patch-lib_replace_wscript new file mode 100644 index 000000000000..d476cec47cfb --- /dev/null +++ b/databases/ldb20/files/patch-lib_replace_wscript @@ -0,0 +1,11 @@ +--- lib/replace/wscript.orig 2019-03-21 10:12:32 UTC ++++ lib/replace/wscript +@@ -119,7 +119,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'): |