summaryrefslogtreecommitdiff
path: root/sysutils/bkpupsd
diff options
context:
space:
mode:
authortaca <taca>2004-12-31 14:36:57 +0000
committertaca <taca>2004-12-31 14:36:57 +0000
commitc979b4ed15dcc0217d2c7bda67a87dcdac5ea234 (patch)
treeec78eb22c232927b4177f17ded21c504b5f2668f /sysutils/bkpupsd
parente26a1e6fa95db8addc6a3bd0abd5d82f3ec5c165 (diff)
downloadpkgsrc-c979b4ed15dcc0217d2c7bda67a87dcdac5ea234.tar.gz
Try to fix bulk-build problem; take care of cgetent(3)'s argument.
Bump package revision.
Diffstat (limited to 'sysutils/bkpupsd')
-rw-r--r--sysutils/bkpupsd/Makefile4
-rw-r--r--sysutils/bkpupsd/distinfo3
-rw-r--r--sysutils/bkpupsd/patches/patch-ac19
3 files changed, 23 insertions, 3 deletions
diff --git a/sysutils/bkpupsd/Makefile b/sysutils/bkpupsd/Makefile
index 8e42445a7c9..9235f0a7093 100644
--- a/sysutils/bkpupsd/Makefile
+++ b/sysutils/bkpupsd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/12/28 02:47:50 reed Exp $
+# $NetBSD: Makefile,v 1.14 2004/12/31 14:36:57 taca Exp $
#
DISTNAME= bkpupsd-2.1.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.jone-system.com/pub/misc/ \
ftp://ftp.back-street.net/pub/misc/
diff --git a/sysutils/bkpupsd/distinfo b/sysutils/bkpupsd/distinfo
index 268c25f51e8..42944b83063 100644
--- a/sysutils/bkpupsd/distinfo
+++ b/sysutils/bkpupsd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2003/07/31 11:07:30 jmmv Exp $
+$NetBSD: distinfo,v 1.9 2004/12/31 14:36:57 taca Exp $
SHA1 (bkpupsd-2.1.2.tar.bz2) = 742e6d7bc99c777077b9e0cc8cf6016fc63d18a6
Size (bkpupsd-2.1.2.tar.bz2) = 35054 bytes
SHA1 (patch-aa) = 887254791ec11c45c9acca5d3250ca43dd47c4ee
SHA1 (patch-ab) = 60d5d9e1e26df8cb12c6ab26709e488c113e741f
+SHA1 (patch-ac) = 59401c70175ed9c71350053bca827505a8f4bc51
diff --git a/sysutils/bkpupsd/patches/patch-ac b/sysutils/bkpupsd/patches/patch-ac
new file mode 100644
index 00000000000..896477bf0b0
--- /dev/null
+++ b/sysutils/bkpupsd/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2004/12/31 14:36:57 taca Exp $
+
+--- src/ups.c.orig 2003-01-21 20:49:06.000000000 +0900
++++ src/ups.c
+@@ -90,11 +90,11 @@ ups_new(name, device, timeout, grace)
+ int timeout;
+ int grace;
+ {
+- static char *file[] = { UPSTAB,
++ static const char *file[] = { UPSTAB,
+ #ifdef DEBUG
+- "upstab",
++ "upstab",
+ #endif
+- NULL, };
++ NULL, };
+ char *ups_cap;
+ UPS ups;
+ char *s, *how;