commit: bb33a26118846931987d910439507dc012f7ad58 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Thu Oct 6 01:20:27 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Thu Oct 6 01:45:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb33a261
sci-misc/fitscut: fix build with upcoming clang16 (revbumped at same time previous commit for other compilers) Closes: https://bugs.gentoo.org/870928 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch | 7 +++++++ sci-misc/fitscut/fitscut-1.4.4-r1.ebuild | 1 + 2 files changed, 8 insertions(+) diff --git a/sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch b/sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch new file mode 100644 index 000000000000..c41014d13f7c --- /dev/null +++ b/sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/870928 +--- a/colormap.c ++++ b/colormap.c +@@ -28,2 +28,3 @@ + #include <stdio.h> ++#include <stdlib.h> + #include <sys/types.h> diff --git a/sci-misc/fitscut/fitscut-1.4.4-r1.ebuild b/sci-misc/fitscut/fitscut-1.4.4-r1.ebuild index 01b7876239ae..1b88c8f32e5f 100644 --- a/sci-misc/fitscut/fitscut-1.4.4-r1.ebuild +++ b/sci-misc/fitscut/fitscut-1.4.4-r1.ebuild @@ -22,6 +22,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-fix-asinh.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() {
