aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtai
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-07-14 23:37:22 +0800
committerarved <arved@FreeBSD.org>2011-07-14 23:37:22 +0800
commitffb332f2e8344e235c17ba49a702229cdf8e44f3 (patch)
tree3746a30def0f07c03a581ea60137835392ead471 /devel/libtai
parente7e841f0e802dd365c60ca9566d7e66ac93ef09d (diff)
downloadfreebsd-ports-gnome-ffb332f2e8344e235c17ba49a702229cdf8e44f3.tar.gz
freebsd-ports-gnome-ffb332f2e8344e235c17ba49a702229cdf8e44f3.tar.zst
freebsd-ports-gnome-ffb332f2e8344e235c17ba49a702229cdf8e44f3.zip
Fix build with clang
PR: 158555 Submitted by: Niclas Zeising
Diffstat (limited to 'devel/libtai')
-rw-r--r--devel/libtai/files/patch-yearcal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libtai/files/patch-yearcal.c b/devel/libtai/files/patch-yearcal.c
new file mode 100644
index 000000000000..c12bc4f68956
--- /dev/null
+++ b/devel/libtai/files/patch-yearcal.c
@@ -0,0 +1,11 @@
+--- yearcal.c.orig 1998-10-13 18:52:20.000000000 +0200
++++ yearcal.c 2011-07-01 09:45:48.000000000 +0200
+@@ -16,7 +16,7 @@
+ , "December"
+ } ;
+
+-void main(argc,argv)
++int main(argc,argv)
+ int argc;
+ char **argv;
+ {