mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-lang/srf: fix build with gcc-10
Closes: https://bugs.gentoo.org/712054 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>
This commit is contained in:
committed by
David Seifert
parent
a45dfd34d2
commit
cbbaf8e874
8
dev-lang/srf/files/srf-1.0-fno-common.patch
Normal file
8
dev-lang/srf/files/srf-1.0-fno-common.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- a/builtins.h
|
||||
+++ b/builtins.h
|
||||
@@ -20,4 +20,4 @@
|
||||
*/
|
||||
#ident "$Id: builtins.h,v 1.4 2004/11/02 04:39:39 bediger Exp $"
|
||||
void setup_builtins(void);
|
||||
-int primitive_call_counter;
|
||||
+extern int primitive_call_counter;
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils vcs-clean
|
||||
inherit vcs-clean
|
||||
|
||||
DESCRIPTION="The Simple Recursive Functions programming language"
|
||||
HOMEPAGE="http://www.stratigery.com/srf.html"
|
||||
@@ -12,12 +12,12 @@ SRC_URI="http://www.stratigery.com/srf.html/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
sys-devel/flex
|
||||
virtual/yacc"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
@@ -30,6 +30,5 @@ src_install() {
|
||||
doman srf.1
|
||||
dodoc README srf.html
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
dodoc -r examples
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user