diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-02-16 16:49:57 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-16 16:53:55 +0100 |
commit | 31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc (patch) | |
tree | fd5f8b549bdd89fa55a85fffb5ee3e24bc4df344 /dev-scheme | |
parent | dev-lang/eisl: fix implicit (diff) | |
download | gentoo-31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc.tar.gz gentoo-31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc.tar.bz2 gentoo-31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc.zip |
dev-scheme/mit-scheme: fix implicit
Closes: https://bugs.gentoo.org/894422
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/mit-scheme/files/mit-scheme-11.2-implicit-int.patch | 19 | ||||
-rw-r--r-- | dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 5 | ||||
-rw-r--r-- | 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=( |