Source: kgames
Version: 2.1-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

kgames fails to cross build from source, because meson requires an
exe_wrapper, but none is usually given. This happens when building a
host binary and attempting to run it (as a code generator). In this
case, the two relevant code generators are architecture-independent and
can be annotated with "native: true" to avoid the need for an
exe_wrapper. Please consider applying the attached patch.

Helmut
--- kgames-2.2.orig/xreversi/meson.build
+++ kgames-2.2/xreversi/meson.build
@@ -41,6 +41,7 @@ srcs_reversi = [
 
 genedge = executable('genedge',
 		     'genedge.c',
+		     native: true,
 		     install: false)
 
 bison_gen = generator(bison,
@@ -51,6 +52,7 @@ makeedge_files = bison_gen.process('make
 
 makeedge = executable('makeedge',
 		      makeedge_files,
+		      native: true,
 		      install: false)
 
 edges_in = custom_target('edges.in',

Reply via email to