From 33a4b795b23a72a8517afc1ca5ceccaad66d426b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 16 Apr 2022 09:20:06 +0200 Subject: [PATCH] package/gstreamer1/gst1-python: fix build without C++ Fix the following build failure without C++ raised since the addition of the package in commit ba0d78b90705fa6f564e105437be4817caf2ca6c: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" Fixes: - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...-build-on-systems-without-C-compiler.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch diff --git a/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 0000000000..7d3059d61a --- /dev/null +++ b/package/gstreamer1/gst1-python/0001-gst-python-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 26c2385faed0bb997368daabd4c64207b3fc01ca Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 15 Apr 2022 18:58:49 +0200 +Subject: [PATCH] gst-python: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-0/output-1/host/bin/i686-buildroot-linux-gnu-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/eebf65036f79d21d347714d62afecd0108393308 + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/26c2385faed0bb997368daabd4c64207b3fc01ca] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-python/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 1462604b297..c28df16192a 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-python', 'c', 'cpp', ++project('gst-python', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab +