gentoo-ebuilds/media-gfx/metapixel/files/metapixel-1.0.2-clang16-build-fix.patch
Brahmajit Das 80952b5067
media-gfx/metapixel: Fix call to undeclared function getpid
and update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/896224
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32963
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2023-12-25 12:00:02 +02:00

12 lines
310 B
Diff

Bug: https://bugs.gentoo.org/896224
--- a/getopt.c
+++ b/getopt.c
@@ -39,6 +39,8 @@
#endif
#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C