summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-04 09:02:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-04 09:03:23 +0000
commit66be6eece6fb20cd720d5c0490eedfc947c918bc (patch)
treea4fae4cb59858618f3647b911d977f728a6f7182 /x11-libs/cairo/cairo-9999.ebuild
parentmedia-sound/grip: amd64 stable wrt bug #708022 (diff)
downloadgentoo-66be6eece6fb20cd720d5c0490eedfc947c918bc.tar.gz
gentoo-66be6eece6fb20cd720d5c0490eedfc947c918bc.tar.bz2
gentoo-66be6eece6fb20cd720d5c0490eedfc947c918bc.zip
x11-libs/cairo: tweak for binutils-2.34, bug #707960
Reported-by: Hugo Ribeiro Closes: https://bugs.gentoo.org/707960 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'x11-libs/cairo/cairo-9999.ebuild')
-rw-r--r--x11-libs/cairo/cairo-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index d5022d1759a3..29d74b12d970 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -65,6 +65,10 @@ PATCHES=(
src_prepare() {
default
+ if has_version ">=sys-libs/binutils-libs-2.34"; then
+ eapply "${FILESDIR}"/${PN}-1.16.0-binutils-2.34.patch
+ fi
+
# tests and perf tools require X, bug #483574
if ! use X; then
sed -e '/^SUBDIRS/ s#boilerplate test perf# #' -i Makefile.am || die