pkgsrc-local/yash/patches/patch-configure
2022-11-06 09:49:53 +00:00

16 lines
334 B
Plaintext

$NetBSD$
avoid implicit int.
--- configure.orig 2022-08-23 14:03:37.000000000 +0000
+++ configure
@@ -726,7 +726,7 @@ ${confighdefs}
#include <ncursesw/ncurses.h>
#endif
#include <${i%:*}>
-int putchar(int);
+#include <stdio.h>
int main(void) {
/* Undeclared identifiers are a syntax error in C99, but many compilers assume