repo/gentoo:master commit in: sys-apps/flatpak/, sys-apps/flatpak/files/

"Zac Medico" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786831757.652e227e114b38c3765a82981540e1bf71c72b34.zmedico@gentoo>
commit:     652e227e114b38c3765a82981540e1bf71c72b34
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 22:08:53 2026 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 22:09:17 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652e227e

sys-apps/flatpak: fix tests

Closes: https://bugs.gentoo.org/980810
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-apps/flatpak/files/flatpak-1.18.1-test.patch | 13 +++++++++++++
 sys-apps/flatpak/flatpak-1.18.1.ebuild           |  2 ++
 2 files changed, 15 insertions(+)

diff --git a/sys-apps/flatpak/files/flatpak-1.18.1-test.patch b/sys-apps/flatpak/files/flatpak-1.18.1-test.patch
new file mode 100644
index 000000000000..f11be9573878
--- /dev/null
+++ b/sys-apps/flatpak/files/flatpak-1.18.1-test.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/make-test-runtime.sh b/tests/make-test-runtime.sh
+index f978601c..c5b08dd7 100755
+--- a/tests/make-test-runtime.sh
++++ b/tests/make-test-runtime.sh
+@@ -95,7 +95,7 @@ chmod a+x ${DIR}/usr/bin/runtime_hello.sh
+ # local archive.
+ if [ -d /usr/lib/locale ]; then
+     mkdir -p ${DIR}/usr/lib/locale/
+-    cp -r /usr/lib/locale/C.* ${DIR}/usr/lib/locale/en_US
++    cp -r /usr/lib/locale/C.* ${DIR}/usr/lib/locale/en_US || true
+ fi
+ 
+ if [ x$COLLECTION_ID != x ]; then

diff --git a/sys-apps/flatpak/flatpak-1.18.1.ebuild b/sys-apps/flatpak/flatpak-1.18.1.ebuild
index 6d953592277c..efb74577c319 100644
--- a/sys-apps/flatpak/flatpak-1.18.1.ebuild
+++ b/sys-apps/flatpak/flatpak-1.18.1.ebuild
@@ -70,6 +70,8 @@ BDEPEND="
 
 PDEPEND="sys-apps/xdg-desktop-portal"
 
+PATCHES=("${FILESDIR}/flatpak-1.18.1-test.patch")
+
 python_check_deps() {
 	python_has_version "dev-python/pyparsing[${PYTHON_USEDEP}]"
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.