diff options
author | Xavier Beaudouin <kiwi@FreeBSD.org> | 2025-01-28 10:32:36 +0100 |
---|---|---|
committer | Xavier Beaudouin <kiwi@FreeBSD.org> | 2025-01-30 15:41:58 +0100 |
commit | 9b1dcbb8c6ad29778807e16c6225e634d059e6b9 (patch) | |
tree | 8831adb9dd368529948dab720f2be452b8ed7a0a /devel/talloc242/files/patch-lib_replace_wscript | |
parent | databases/ldb29: Update to 2.9.2 (diff) |
devel/talloc242: Hierarchical pool based memory allocator
A hierarchical pool based memory allocator with destructors. It uses
reference counting to determine when memory should be freed.
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/D48657
Diffstat (limited to 'devel/talloc242/files/patch-lib_replace_wscript')
-rw-r--r-- | devel/talloc242/files/patch-lib_replace_wscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/talloc242/files/patch-lib_replace_wscript b/devel/talloc242/files/patch-lib_replace_wscript new file mode 100644 index 000000000000..d476cec47cfb --- /dev/null +++ b/devel/talloc242/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'): |