Fixes build with latest perl/autoconf Signed-off-by: Khem Raj <[email protected]> Cc: Andreas Müller <[email protected]> --- .../gsound/gsound/0001-Set-vapidir.patch | 28 +++++++++++++++++++ .../recipes-gnome/gsound/gsound_1.0.2.bb | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch
diff --git a/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch b/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch new file mode 100644 index 0000000000..ffccfd56f2 --- /dev/null +++ b/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch @@ -0,0 +1,28 @@ +From 0a790273aca3ba07dfa6d2f61e3aaa7157c1a3bb Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sat, 20 Mar 2021 09:22:18 -0700 +Subject: [PATCH] Set vapidir + +Use parentheses instead of braces, it makes automake and perl happy +newer perl does not like ${} for VALAFLAGS + +Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^${ <-- HERE abs_top_builddir}/gsound$/ at TOPDIR/build/tmp/work/mips32r2-yoe-linux/gsound/1.0.2-r0/recipe-sysroot-native/usr/bin/automake line 5759. +autoreconf: error: automake failed with exit status: 255 + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- + tools/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/tools/Makefile.am ++++ b/tools/Makefile.am +@@ -8,7 +8,7 @@ bin_PROGRAMS = gsound-play + gsound_play_SOURCES = gsound-play.vala + + gsound_play_VALAFLAGS = \ +- --vapidir ${abs_top_builddir}/gsound \ ++ --vapidir $(abs_top_builddir)/gsound \ + --pkg gsound \ + ${NULL} + diff --git a/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb b/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb index e4478e14a3..65ee1e1c12 100644 --- a/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb +++ b/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb @@ -9,5 +9,7 @@ DEPENDS = " \ inherit gnomebase gettext gobject-introspection vala +SRC_URI += "file://0001-Set-vapidir.patch" + SRC_URI[archive.md5sum] = "c26fd21c21b9ef6533a202a73fab21db" SRC_URI[archive.sha256sum] = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53" -- 2.31.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#90233): https://lists.openembedded.org/g/openembedded-devel/message/90233 Mute This Topic: https://lists.openembedded.org/mt/81482782/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
