File: fix-libdomdeps.patch

package info (click to toggle)
elinks 0.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,352 kB
  • sloc: ansic: 156,569; cpp: 30,139; sh: 7,719; python: 4,031; perl: 2,183; pascal: 1,670; makefile: 995; javascript: 904; yacc: 295; lisp: 125; awk: 79; ruby: 70
file content (17 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix default value for libdomdeps to empty list instead of 
  false, as meson complained that it shouldn't be a boolean value
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Forwarded: https://github.com/rkd77/elinks/pull/348
Index: elinks/meson.build
===================================================================
--- elinks.orig/meson.build	2024-12-29 17:10:24.846550460 +0100
+++ elinks/meson.build	2024-12-29 17:29:11.843601310 +0100
@@ -555,7 +555,7 @@
 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)