From f4be32b6152bb9a4d654e8e9c6d7535637e3dc26 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Wed, 15 Mar 2017 15:16:04 +0200 Subject: [PATCH] dev-libs/libgdata: tests: don't remove https testing if libsoup is new enough The issue was identified to be with older libsoup, so only revert the TLS patch if available libsoup is buggy for the test. Next libgdata release will fix it properly (grabbing the upstream fix verbatim would mean unnecesary eautoreconf) Package-Manager: Portage-2.3.4, Repoman-2.3.1 --- dev-libs/libgdata/libgdata-0.17.7.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgdata/libgdata-0.17.7.ebuild b/dev-libs/libgdata/libgdata-0.17.7.ebuild index ce01bdd4863c..bf51fdf868fc 100644 --- a/dev-libs/libgdata/libgdata-0.17.7.ebuild +++ b/dev-libs/libgdata/libgdata-0.17.7.ebuild @@ -41,8 +41,10 @@ DEPEND="${RDEPEND} " src_prepare() { - # https://bugzilla.gnome.org/show_bug.cgi?id=780081 - eapply -R "${FILESDIR}/${PV}"-streams-https-tests.patch + # https://bugzilla.gnome.org/show_bug.cgi?id=780081 - remove with 0.17.8 + if use test && ! has_version '>=net-libs/libsoup-2.55.90:2.4'; then + eapply -R "${FILESDIR}/${PV}"-streams-https-tests.patch + fi # x86 test fix from upstream git post-0.17.7 eapply "${FILESDIR}/${PV}"-fix-x86-tests.patch -- 2.26.2