Unbreak build with meson >=0.61.0

This commit is contained in:
ajacoutot 2022-01-14 07:25:36 +00:00
parent 969c9083a6
commit 7d819b839d

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_meson_build,v 1.1 2022/01/14 07:25:36 ajacoutot Exp $
src/meson.build:172:0: ERROR: gnome.genmarshal keyword argument 'sources' was of type array[File] but should have been array[str] that cannot be empty
Index: src/meson.build
--- src/meson.build.orig
+++ src/meson.build
@@ -174,9 +174,7 @@ server_sources += gnome.genmarshal(
internal: true,
install_header: false,
prefix: '_terminal_marshal',
- sources: files(
- 'terminal-marshal.list',
- ),
+ sources: 'terminal-marshal.list',
stdinc: true,
valist_marshallers: true,
)