diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-05 21:20:27 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-05 21:45:43 -0400 |
commit | bb33a26118846931987d910439507dc012f7ad58 (patch) | |
tree | e05adbc39130514a30d08f7cbd58f616be68ee1e /sci-misc | |
parent | sci-misc/fitscut: EAPI6->8, remove dead urls (diff) | |
download | gentoo-bb33a26118846931987d910439507dc012f7ad58.tar.gz gentoo-bb33a26118846931987d910439507dc012f7ad58.tar.bz2 gentoo-bb33a26118846931987d910439507dc012f7ad58.zip |
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@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/fitscut/files/fitscut-1.4.4-clang16.patch | 7 | ||||
-rw-r--r-- | sci-misc/fitscut/fitscut-1.4.4-r1.ebuild | 1 |
2 files changed, 8 insertions, 0 deletions
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() { |