diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-01 10:37:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-01 10:37:34 +0200 |
commit | 66b8e065ad9e5f378bea49563838853c2b4ae2d5 (patch) | |
tree | d129a088157f9c5bca90e763c9ab0dd2d3fd7b71 | |
parent | 306bf8d353b56a58ede82b5b0ac77101d9bcfcbf (diff) | |
download | ptxdist-66b8e065ad9e5f378bea49563838853c2b4ae2d5.tar.gz ptxdist-66b8e065ad9e5f378bea49563838853c2b4ae2d5.tar.xz |
host-gobject-introspection: fix building with -v
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | patches/gobject-introspection-1.56.1/0002-dumper.py-don-t-close-fds.patch | 24 | ||||
-rw-r--r-- | patches/gobject-introspection-1.56.1/series | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/patches/gobject-introspection-1.56.1/0002-dumper.py-don-t-close-fds.patch b/patches/gobject-introspection-1.56.1/0002-dumper.py-don-t-close-fds.patch new file mode 100644 index 000000000..379950902 --- /dev/null +++ b/patches/gobject-introspection-1.56.1/0002-dumper.py-don-t-close-fds.patch @@ -0,0 +1,24 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Wed, 1 May 2019 10:35:55 +0200 +Subject: [PATCH] dumper.py: don't close fds + +The toolchain wrapper uses fd 9 to write the commandline to the logfile. + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + giscanner/dumper.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/giscanner/dumper.py b/giscanner/dumper.py +index 3c7220bc036a..58f62ee7a284 100644 +--- a/giscanner/dumper.py ++++ b/giscanner/dumper.py +@@ -288,7 +288,7 @@ class DumpCompiler(object): + shell = utils.which(shell) + args = [shell, tf_name.replace('\\', '/')] + try: +- subprocess.check_call(args) ++ subprocess.check_call(args, close_fds=False) + except subprocess.CalledProcessError as e: + raise LinkerError(e) + finally: diff --git a/patches/gobject-introspection-1.56.1/series b/patches/gobject-introspection-1.56.1/series index f02a530de..91226cec0 100644 --- a/patches/gobject-introspection-1.56.1/series +++ b/patches/gobject-introspection-1.56.1/series @@ -1,4 +1,5 @@ # generated by git-ptx-patches #tag:base --start-number 1 0001-don-t-build-g-ir-scanner-when-cross-compiling.patch -# 1247aeb7632c766a4cc9ba6ea2c1e979 - git-ptx-patches magic +0002-dumper.py-don-t-close-fds.patch +# 576e62c4608e67bc940c4ff57593a48c - git-ptx-patches magic |