From 0f0c8fd47eedc451c398ba065f0f699eeb7e33dd Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 19 Feb 2023 23:03:27 +0100 Subject: x11-terms/yeahconsole: fix -Wimplicit-int Closes: https://bugs.gentoo.org/871516 Signed-off-by: David Seifert --- 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(-) create mode 100644 x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch (limited to 'x11-terms') 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 -- cgit v1.2.3-65-gdbad