dev-scheme/mit-scheme: fix implicit

Closes: https://bugs.gentoo.org/894422
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-02-16 16:53:55 +01:00
parent 30cc28bd0a
commit 31d7c231a1
3 changed files with 27 additions and 2 deletions
@@ -0,0 +1,19 @@
--- a/lib/include/termcap.c
+++ b/lib/include/termcap.c
@@ -144,7 +144,7 @@ int bufsize = 128;
# define NULL 0
#endif
-static
+static void
memory_out ()
{
write (2, "Virtual memory exhausted\n", 25);
@@ -328,6 +328,7 @@ tgetst1 (ptr, area)
char PC;
+void
tputs (string, nlines, outfun)
char *string;
int nlines;
+4 -1
View File
@@ -24,7 +24,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-no-Werror.patch )
PATCHES=(
"${FILESDIR}"/${P}-no-Werror.patch
"${FILESDIR}"/${P}-implicit-int.patch
)
src_configure() {
local myconf=(
+4 -1
View File
@@ -24,7 +24,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-11.2-no-Werror.patch )
PATCHES=(
"${FILESDIR}"/${PN}-11.2-no-Werror.patch
"${FILESDIR}"/${PN}-11.2-implicit-int.patch
)
src_configure() {
local -a myconf=(