summaryrefslogtreecommitdiff
path: root/devel/libtai/patches
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2008-07-30 10:36:27 +0000
committerschmonz <schmonz@pkgsrc.org>2008-07-30 10:36:27 +0000
commit269efa2ac6e70b81ef760b39cc3496eed822d6b3 (patch)
treed185ca2240dab97a0ae263bbb474bbacd662c1bd /devel/libtai/patches
parent83b1af6cf69677c9298cb34e1794836a41f90b38 (diff)
downloadpkgsrc-269efa2ac6e70b81ef760b39cc3496eed822d6b3.tar.gz
#include <unistd.h> in leapsecs_read.c so we can read leapsecs.dat.
Add a buildlink3.mk file. Bump PKGREVISION.
Diffstat (limited to 'devel/libtai/patches')
-rw-r--r--devel/libtai/patches/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/libtai/patches/patch-aa b/devel/libtai/patches/patch-aa
new file mode 100644
index 00000000000..5366dbf7c7f
--- /dev/null
+++ b/devel/libtai/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2008/07/30 10:36:27 schmonz Exp $
+
+--- leapsecs_read.c.orig 1998-09-04 22:33:37.000000000 -0400
++++ leapsecs_read.c
+@@ -2,6 +2,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <unistd.h>
+ extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"