diff options
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 } |