aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-04-07 18:27:20 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-04-08 07:10:26 +0000
commita71fea51cecfe3bb70247ad62668e380e0f069ad (patch)
tree7bc7166c3b16c524a0051613aaeb18fd8a1908d9
parente8053023e7c07214a7b0a97f0f087ba02b329157 (diff)
contrib/libucl: Revert to old behavior of macros
Enable macros and includes by default as this is breaking package building on HEAD. libucl 0.9.3 by default changed the behavior of includes and macros. These were previously enabled but it switched to disabled which breaks the package building in HEAD. This is a temporary workaround for now to fix the package building specially for releng/15.0. This might be reverted post EOL of 15.0 in the coming months. Reported by: ivy Fixes: abda442d92fd ("contrib/libucl: Import libucl 0.9.3") Tested by: ivy Approved by: ivy, kevans Differential Revision: https://reviews.freebsd.org/D56294
-rw-r--r--contrib/libucl/lua/lua_ucl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/lua/lua_ucl.c b/contrib/libucl/lua/lua_ucl.c
index 0420ad87e26f..8664855b2d25 100644
--- a/contrib/libucl/lua/lua_ucl.c
+++ b/contrib/libucl/lua/lua_ucl.c
@@ -656,7 +656,7 @@ lua_ucl_parser_init (lua_State *L)
* files. Macros in the parser are very dangerous and should be used
* for trusted data only.
*/
- int flags = UCL_PARSER_NO_FILEVARS|UCL_PARSER_DISABLE_MACRO;
+ int flags = 0;
if (lua_gettop (L) >= 1) {
flags = lua_tonumber (L, 1);