commit: 31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Feb 16 15:49:57 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Thu Feb 16 15:53:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d7c231
dev-scheme/mit-scheme: fix implicit Closes: https://bugs.gentoo.org/894422 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> .../files/mit-scheme-11.2-implicit-int.patch | 19 +++++++++++++++++++ dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 5 ++++- dev-scheme/mit-scheme/mit-scheme-12.1.ebuild | 5 ++++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/dev-scheme/mit-scheme/files/mit-scheme-11.2-implicit-int.patch b/dev-scheme/mit-scheme/files/mit-scheme-11.2-implicit-int.patch new file mode 100644 index 000000000000..545ec49494f2 --- /dev/null +++ b/dev-scheme/mit-scheme/files/mit-scheme-11.2-implicit-int.patch @@ -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; diff --git a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild index f8e69c604756..723378e963db 100644 --- a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild +++ b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild @@ -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=( diff --git a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild index 2043f7859d2e..bae59266c121 100644 --- a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild +++ b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild @@ -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=(
