From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/srf/, dev-lang/srf/files/
Date: Sat, 28 Nov 2020 23:10:00 +0000 (UTC) [thread overview]
Message-ID: <1606604929.cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f.soap@gentoo> (raw)
commit: cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Nov 28 23:08:49 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 23:08:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbbaf8e8
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 <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-lang/srf/files/srf-1.0-fno-common.patch | 8 ++++++++
dev-lang/srf/srf-1.0-r2.ebuild | 9 ++++-----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/dev-lang/srf/files/srf-1.0-fno-common.patch b/dev-lang/srf/files/srf-1.0-fno-common.patch
new file mode 100644
index 00000000000..abbd5c74191
--- /dev/null
+++ b/dev-lang/srf/files/srf-1.0-fno-common.patch
@@ -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;
diff --git a/dev-lang/srf/srf-1.0-r2.ebuild b/dev-lang/srf/srf-1.0-r2.ebuild
index 75e62c66f6f..949fee4692d 100644
--- a/dev-lang/srf/srf-1.0-r2.ebuild
+++ b/dev-lang/srf/srf-1.0-r2.ebuild
@@ -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
}
reply other threads:[~2020-11-28 23:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606604929.cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox