summaryrefslogtreecommitdiff
path: root/devel/libtai/patches/patch-yearcal_c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtai/patches/patch-yearcal_c')
-rw-r--r--devel/libtai/patches/patch-yearcal_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libtai/patches/patch-yearcal_c b/devel/libtai/patches/patch-yearcal_c
new file mode 100644
index 00000000000..984308c9b49
--- /dev/null
+++ b/devel/libtai/patches/patch-yearcal_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-yearcal_c,v 1.1 2011/08/01 05:37:12 dholland Exp $
+
+Fix illegal C.
+
+--- yearcal.c~ 1998-10-13 16:52:20.000000000 +0000
++++ yearcal.c
+@@ -16,7 +16,7 @@ char *montab[] = {
+ , "December"
+ } ;
+
+-void main(argc,argv)
++int main(argc,argv)
+ int argc;
+ char **argv;
+ {