Files
ports/databases/tdb1413/files/patch-lib_replace_wscript
T
Mateusz Piotrowski a9a5b03fbb databases/tdb1413: Repocopy from databases/tdb1410
PR:		287985
Reported by:	Andrej Ebert <andrej@ebert.su>
Sponsored by:	Klara, Inc.
2025-08-26 18:44:03 +02:00

12 lines
450 B
Plaintext

--- lib/replace/wscript.orig 2019-02-26 06:44:21 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'):