commit: 0f0c8fd47eedc451c398ba065f0f699eeb7e33dd Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Feb 19 22:03:27 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Feb 19 22:03:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0c8fd4
x11-terms/yeahconsole: fix -Wimplicit-int Closes: https://bugs.gentoo.org/871516 Signed-off-by: David Seifert <soap <AT> gentoo.org> x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch | 11 +++++++++++ x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch b/x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch new file mode 100644 index 000000000000..a6e5fb5f64c3 --- /dev/null +++ b/x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch @@ -0,0 +1,11 @@ +--- a/yeahconsole.c ++++ b/yeahconsole.c +@@ -340,7 +340,7 @@ + XMapWindow(dpy, win); + } + +-void init_xterm(move) ++void init_xterm(int move) + { + XEvent ev; + long dummy; diff --git a/x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild b/x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild index 094dd9841b02..abf927e9c380 100644 --- a/x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild +++ b/x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild @@ -19,7 +19,10 @@ DEPEND=" x11-base/xorg-proto" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}"/${P}-make.patch ) +PATCHES=( + "${FILESDIR}"/${P}-make.patch + "${FILESDIR}"/${P}-C99-decls.patch +) src_configure() { tc-export CC PKG_CONFIG
