From 563dd71917c9077c1afad0dc04e3b2924ab53b59 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 18 May 2018 18:43:46 +0200 Subject: dev-libs/appstream: Fix install issue w/ meson Thanks-to: David Haller Closes: https://bugs.gentoo.org/640916 Package-Manager: Portage-2.3.38, Repoman-2.3.9 --- dev-libs/appstream/appstream-0.11.5.ebuild | 2 ++ .../appstream/files/appstream-0.11.5-fix-meson-po.patch | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch (limited to 'dev-libs') diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild index 227ab977dc59..bf4e52ace68b 100644 --- a/dev-libs/appstream/appstream-0.11.5.ebuild +++ b/dev-libs/appstream/appstream-0.11.5.ebuild @@ -43,6 +43,8 @@ DEPEND="${RDEPEND} ) " +PATCHES=( "${FILESDIR}/${P}-fix-meson-po.patch" ) + src_configure() { xdg_environment_reset diff --git a/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch b/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch new file mode 100644 index 000000000000..2a37662e8f34 --- /dev/null +++ b/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch @@ -0,0 +1,14 @@ +Gentoo-bug: https://bugs.gentoo.org/640916 +Thanks-to: David Haller + +--- a/po/meson.build 2017-09-04 18:09:52.000000000 +0200 ++++ b/po/meson.build 2018-05-15 12:24:42.000000000 +0200 +@@ -21,7 +21,7 @@ + 'find ' + meson.current_source_dir() + + ' -type f' + + ' -iname "*.po"' + +- ' -printf \'%f\\n\'' + ++ ' -printf \'%f\n\'' + + ' | grep -oP \'.*(?=[.])\' | sort' + + ' > ' + join_paths(meson.current_source_dir(), 'LINGUAS') + ] -- cgit v1.2.3-65-gdbad