diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-09 00:40:54 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-09 01:31:02 -0400 |
commit | 825bc29ea1ac5c3f1b45041dad97cc1441c9a2ad (patch) | |
tree | 04069788a47acc36ba03d19cc3d7342872046e51 /media-gfx/aview | |
parent | media-gfx/aview: EAPI7->8, tidy (diff) | |
download | gentoo-825bc29ea1ac5c3f1b45041dad97cc1441c9a2ad.tar.gz gentoo-825bc29ea1ac5c3f1b45041dad97cc1441c9a2ad.tar.bz2 gentoo-825bc29ea1ac5c3f1b45041dad97cc1441c9a2ad.zip |
media-gfx/aview: fix build with upcoming clang16
Closes: https://bugs.gentoo.org/871249
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx/aview')
-rw-r--r-- | media-gfx/aview/aview-1.3.0_rc1-r3.ebuild | 1 | ||||
-rw-r--r-- | media-gfx/aview/files/aview-1.3.0_rc1-clang16.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild b/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild index 6c5269da95c3..0f64724a6032 100644 --- a/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild +++ b/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild @@ -22,6 +22,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-asciiview.patch "${FILESDIR}"/${P}-includes.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { diff --git a/media-gfx/aview/files/aview-1.3.0_rc1-clang16.patch b/media-gfx/aview/files/aview-1.3.0_rc1-clang16.patch new file mode 100644 index 000000000000..6ae962bbb06b --- /dev/null +++ b/media-gfx/aview/files/aview-1.3.0_rc1-clang16.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/871249 +--- a/flip.c ++++ b/flip.c +@@ -10,4 +10,5 @@ + #include <string.h> + #include <sys/time.h> ++#include <ctype.h> + #include <unistd.h> + #include <aalib.h> +@@ -59,4 +60,5 @@ + static char *graph_mem; + ++int f_getkey(void); + + static void dcd_color_64( char *data ) { |