gentoo-ebuilds/www-client/elinks/files/elinks-0.18.0-build.patch
Felix Janda b1de1452da
www-client/elinks: meson fix for v0.18.0
Closes: https://bugs.gentoo.org/948601
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/40282
Signed-off-by: Sam James <sam@gentoo.org>
2025-01-24 02:27:43 +00:00

22 lines
894 B
Diff

commit 7bce7c203244b0afbec3a916ef3abfbd4cea2658
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Date: Sun Dec 29 18:14:47 2024 +0100
Fix default value for libdomdeps to empty list instead of false
When it was false, meson complained that it shouldn't be a boolean
value, see: https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6836245/raw
diff --git a/meson.build b/meson.build
index 69b7975..c0f7d3a 100644
--- a/meson.build
+++ b/meson.build
@@ -555,7 +555,7 @@ if conf_data.get('CONFIG_ECMASCRIPT_SMJS') or conf_data.get('CONFIG_QUICKJS') or
endif
conf_data.set('CONFIG_LIBDOM', false)
-libdomdeps = false
+libdomdeps = []
if conf_data.get('CONFIG_ECMASCRIPT_SMJS') or conf_data.get('CONFIG_QUICKJS') or conf_data.get('CONFIG_MUJS')
libdomdeps = dependency('libdom', static: st, version: '>=0.4.2', required: false)