commit: 563dd71917c9077c1afad0dc04e3b2924ab53b59 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri May 18 16:43:46 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri May 18 16:44:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=563dd719
dev-libs/appstream: Fix install issue w/ meson Thanks-to: David Haller <gentoo <AT> dhaller.de> 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(+) diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild index 227ab977dc5..bf4e52ace68 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 00000000000..2a37662e8f3 --- /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 <gen...@dhaller.de> + +--- 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') + ]