summaryrefslogtreecommitdiff
path: root/shells/yash/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'shells/yash/patches/patch-configure')
-rw-r--r--shells/yash/patches/patch-configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/shells/yash/patches/patch-configure b/shells/yash/patches/patch-configure
new file mode 100644
index 00000000000..b64105e481d
--- /dev/null
+++ b/shells/yash/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2022/11/05 16:41:14 pin Exp $
+
+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