diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-03-02 21:08:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-03 16:51:47 +0000 |
commit | 581973a7c1aff3201ff85b07b7004f53156ce7d0 (patch) | |
tree | 4efa621b605138c9a3ea58bee876a8e4113f296f /sci-geosciences/gmt/gmt-5.4.4.ebuild | |
parent | dev-php/libvirt-php: Apply gcc-10 workaround (diff) | |
download | gentoo-581973a7c1aff3201ff85b07b7004f53156ce7d0.tar.gz gentoo-581973a7c1aff3201ff85b07b7004f53156ce7d0.tar.bz2 gentoo-581973a7c1aff3201ff85b07b7004f53156ce7d0.zip |
sci-geosciences/gmt: Apply gcc-10 workaround
* Fix undeclared sys_siglist issue. Thanks to hangglider@gmx.de for providing the patch.
Thanks-to: hangglider@gmx.de
Closes: https://bugs.gentoo.org/738224
Closes: https://bugs.gentoo.org/710088
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/gmt/gmt-5.4.4.ebuild')
-rw-r--r-- | sci-geosciences/gmt/gmt-5.4.4.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-geosciences/gmt/gmt-5.4.4.ebuild b/sci-geosciences/gmt/gmt-5.4.4.ebuild index 31d9c0f51243..2b891c81bc2f 100644 --- a/sci-geosciences/gmt/gmt-5.4.4.ebuild +++ b/sci-geosciences/gmt/gmt-5.4.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit bash-completion-r1 cmake +inherit bash-completion-r1 cmake flag-o-matic DESCRIPTION="Powerful map generator" HOMEPAGE="https://gmt.soest.hawaii.edu/" @@ -33,6 +33,8 @@ RDEPEND="${DEPEND} sci-geosciences/gshhg-gmt " +PATCHES=( "${FILESDIR}"/${P}-sighandler.patch ) + src_prepare() { cmake_src_prepare # Rename man pages to avoid a name conflict with gmt4 @@ -57,6 +59,9 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/710088 + # drop on version bump + append-cflags -fcommon local mycmakeargs=( -DGMT_DATADIR="share/${P}" -DGMT_DOCDIR="share/doc/${PF}" |