git: d51d91780b61 - stable/14 - packages: Fix build with libucl 0.9.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Apr 2026 00:36:17 UTC
The branch stable/14 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=d51d91780b61180fbeae406a29e9a02ec74d56df
commit d51d91780b61180fbeae406a29e9a02ec74d56df
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2026-04-06 17:11:22 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2026-04-15 23:27:05 +0000
packages: Fix build with libucl 0.9.3
In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser. This breaks the package build, which
relies on includes. Fix this by explicitly passing zero flags
to ucl.parser().
MFC after: 3 days
Fixes: abda442d92fd ("contrib/libucl: Import libucl 0.9.3")
Reviewed by: kevans, bapt
Reported by: freebsd@walstatt-de.de
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56266
(cherry picked from commit 63d0e3e3aa2483420f828686336d6615616363d5)
---
release/packages/generate-ucl.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/release/packages/generate-ucl.lua b/release/packages/generate-ucl.lua
index de52802913f8..c62dd8a8dbce 100755
--- a/release/packages/generate-ucl.lua
+++ b/release/packages/generate-ucl.lua
@@ -16,7 +16,7 @@ if #arg < 2 or #arg % 2 ~= 0 then
os.exit(1)
end
-local parser = ucl.parser()
+local parser = ucl.parser(0)
for i = 2, #arg - 2, 2 do
parser:register_variable(arg[i - 1], arg[i])
end