pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libtai #include <unistd.h> in leapsecs_read.c so...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3ba2747720c
branches:  trunk
changeset: 545293:f3ba2747720c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 30 10:36:27 2008 +0000

description:
#include <unistd.h> in leapsecs_read.c so we can read leapsecs.dat.
Add a buildlink3.mk file. Bump PKGREVISION.

diffstat:

 devel/libtai/Makefile         |   3 ++-
 devel/libtai/buildlink3.mk    |  20 ++++++++++++++++++++
 devel/libtai/distinfo         |   3 ++-
 devel/libtai/patches/patch-aa |  12 ++++++++++++
 4 files changed, 36 insertions(+), 2 deletions(-)

diffs (64 lines):

diff -r 3a82fd89471b -r f3ba2747720c devel/libtai/Makefile
--- a/devel/libtai/Makefile     Wed Jul 30 10:24:40 2008 +0000
+++ b/devel/libtai/Makefile     Wed Jul 30 10:36:27 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/07/30 10:36:27 schmonz Exp $
 #
 
 DISTNAME=      libtai-0.60
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${HOMEPAGE}
 
diff -r 3a82fd89471b -r f3ba2747720c devel/libtai/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtai/buildlink3.mk        Wed Jul 30 10:36:27 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/07/30 10:36:27 schmonz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBTAI_BUILDLINK3_MK:= ${LIBTAI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libtai
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibtai}
+BUILDLINK_PACKAGES+=   libtai
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtai
+
+.if ${LIBTAI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libtai+= libtai>=0.60nb1
+BUILDLINK_PKGSRCDIR.libtai?=   ../../devel/libtai
+BUILDLINK_DEPMETHOD.libtai?=   build
+.endif # LIBTAI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 3a82fd89471b -r f3ba2747720c devel/libtai/distinfo
--- a/devel/libtai/distinfo     Wed Jul 30 10:24:40 2008 +0000
+++ b/devel/libtai/distinfo     Wed Jul 30 10:36:27 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/15 05:27:12 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2008/07/30 10:36:27 schmonz Exp $
 
 SHA1 (libtai-0.60.tar.gz) = f4682fb2a98dd7d434aa0cecd9254a58a0bfd9fb
 RMD160 (libtai-0.60.tar.gz) = 706111781e5e5bd7ae888e3cdc169d1d8d29de6f
 Size (libtai-0.60.tar.gz) = 17300 bytes
+SHA1 (patch-aa) = af02dc2acf416ae63f93de08bdafdad80faebc12
diff -r 3a82fd89471b -r f3ba2747720c devel/libtai/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtai/patches/patch-aa     Wed Jul 30 10:36:27 2008 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index