diff options
author | David Seifert <soap@gentoo.org> | 2023-02-19 23:03:27 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-02-19 23:03:27 +0100 |
commit | 0f0c8fd47eedc451c398ba065f0f699eeb7e33dd (patch) | |
tree | f4a14a8043ac3969e3784257ddbae2ba10e1c269 /x11-terms | |
parent | x11-terms/yeahconsole: update EAPI 6 -> 8 (diff) | |
download | gentoo-0f0c8fd47eedc451c398ba065f0f699eeb7e33dd.tar.gz gentoo-0f0c8fd47eedc451c398ba065f0f699eeb7e33dd.tar.bz2 gentoo-0f0c8fd47eedc451c398ba065f0f699eeb7e33dd.zip |
x11-terms/yeahconsole: fix -Wimplicit-int
Closes: https://bugs.gentoo.org/871516
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/yeahconsole/files/yeahconsole-0.3.4-C99-decls.patch | 11 | ||||
-rw-r--r-- | x11-terms/yeahconsole/yeahconsole-0.3.4-r2.ebuild | 5 |
2 files changed, 15 insertions, 1 deletions
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 |