diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-29 00:08:51 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-29 00:08:51 +0100 |
commit | 5cd5bc929649189c6210696825db557956f9d11e (patch) | |
tree | 9a5595d2ddf7b0cabf33f45ac90389dc688a4cdb /dev-scheme | |
parent | dev-lang/srf: fix build with gcc-10 (diff) | |
download | gentoo-5cd5bc929649189c6210696825db557956f9d11e.tar.gz gentoo-5cd5bc929649189c6210696825db557956f9d11e.tar.bz2 gentoo-5cd5bc929649189c6210696825db557956f9d11e.zip |
dev-scheme/sigscheme: port to EAPI 7
* Thanks to Jeroen Roovers for submitting the patch
Closes: https://bugs.gentoo.org/706906
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/sigscheme/files/sigscheme-0.8.5-fno-common.patch | 11 | ||||
-rw-r--r-- | dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild | 14 |
2 files changed, 21 insertions, 4 deletions
diff --git a/dev-scheme/sigscheme/files/sigscheme-0.8.5-fno-common.patch b/dev-scheme/sigscheme/files/sigscheme-0.8.5-fno-common.patch new file mode 100644 index 000000000000..efac2648a28c --- /dev/null +++ b/dev-scheme/sigscheme/files/sigscheme-0.8.5-fno-common.patch @@ -0,0 +1,11 @@ +--- a/libgcroots/include/private/gc_priv.h ++++ b/libgcroots/include/private/gc_priv.h +@@ -1979,7 +1979,7 @@ + /* the signal mask. */ + # define SETJMP(env) sigsetjmp(env, 1) + # define LONGJMP(env, val) siglongjmp(env, val) +-# define JMP_BUF sigjmp_buf ++# define JMP_BUF extern sigjmp_buf + #else + # ifdef ECOS + # define SETJMP(env) hal_setjmp(env) diff --git a/dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild b/dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild index cbed33d141c5..a154c41664dd 100644 --- a/dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild +++ b/dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="SigScheme is an R5RS Scheme interpreter for embedded use" HOMEPAGE="https://code.google.com/p/sigscheme/" @@ -10,8 +10,14 @@ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" + +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) src_configure() { - econf --enable-hygienic-macro + econf --enable-hygienic-macro --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die } |