summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2022-02-26 19:41:11 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-02-26 19:41:11 +0100
commitbc5b49f1264f425fa395372c0383ae753a9399a1 (patch)
tree56f9ed96dc4f66f2a6afa25c27b1799f40b68e20 /sci-visualization/gr/gr-0.53.0.ebuild
parentapp-text/xournalpp: QA fixes (diff)
downloadgentoo-bc5b49f1264f425fa395372c0383ae753a9399a1.tar.gz
gentoo-bc5b49f1264f425fa395372c0383ae753a9399a1.tar.bz2
gentoo-bc5b49f1264f425fa395372c0383ae753a9399a1.zip
sci-visualization/gr: Fix build with musl
Closes: https://bugs.gentoo.org/832836 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-visualization/gr/gr-0.53.0.ebuild')
-rw-r--r--sci-visualization/gr/gr-0.53.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-visualization/gr/gr-0.53.0.ebuild b/sci-visualization/gr/gr-0.53.0.ebuild
index dbdaaca1611b..c46b776f0a07 100644
--- a/sci-visualization/gr/gr-0.53.0.ebuild
+++ b/sci-visualization/gr/gr-0.53.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,6 +34,10 @@ DEPEND="
RDEPEND="${DEPEND}"
BDEPEND=""
+PATCHES=(
+ "${FILESDIR}/${P}-musl.patch"
+)
+
src_configure() {
use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
use postscript || mycmakeargs+=( -DGS_LIBRARY= )