gentoo/dev-perl/Crypt-Twofish/files/Crypt-Twofish-2.180.0-configure-clang16.patch
Sam James ff1fcba28c
dev-perl/Crypt-Twofish: fix configure w/ clang 16
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-04 04:32:02 +00:00

14 lines
422 B
Diff

https://gitlab.com/fweimer-rh/fedora-modernc/-/commit/1dfd7bb468b91abb93f6b3c54c8b1dcdaf8ccdff
https://rt.cpan.org/Public/Bug/Display.html?id=145461
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,6 +6,7 @@ use ExtUtils::MakeMaker;
($stdint = <<"TEST") =~ s/^\| {0,3}//gm;
| #include <stdint.h>
+| #include <stdio.h>
| int main(void) {
| printf("%d%d", sizeof(uint16_t), sizeof(uint32_t));
| return 0;