summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-26 11:20:47 +0000
committerrillig <rillig>2006-06-26 11:20:47 +0000
commit171c760af2d43b465950fbbbfe1a58c80927ab00 (patch)
treea550a8ac9c8719c8d58292cb657a67e4a490c361
parentca9bd751429f1aa46f42d72e1dfe37873cc72904 (diff)
downloadpkgsrc-171c760af2d43b465950fbbbfe1a58c80927ab00.tar.gz
Fixed gcc warnings.
-rw-r--r--net/totd/Makefile4
-rw-r--r--net/totd/distinfo3
-rw-r--r--net/totd/patches/patch-aa24
3 files changed, 27 insertions, 4 deletions
diff --git a/net/totd/Makefile b/net/totd/Makefile
index c63e12fbcdf..ab213554a4d 100644
--- a/net/totd/Makefile
+++ b/net/totd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/05/18 20:30:00 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2006/06/26 11:20:47 rillig Exp $
#
DISTNAME= totd-1.5.1
@@ -9,8 +9,6 @@ MAINTAINER= feico@pasta.cs.uit.no
HOMEPAGE= http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html
COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation
-BROKEN_IN= pkgsrc-2006Q1
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
diff --git a/net/totd/distinfo b/net/totd/distinfo
index 760e08846a2..fd5e0d417b9 100644
--- a/net/totd/distinfo
+++ b/net/totd/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2006/04/29 10:43:53 rillig Exp $
+$NetBSD: distinfo,v 1.7 2006/06/26 11:20:47 rillig Exp $
SHA1 (totd-1.5.1.tar.gz) = cf9d48b386b2f218032b8997e28b46e64921d59e
RMD160 (totd-1.5.1.tar.gz) = 3b80931837eed1bd9e5cdfa8a3ed708d6ed40429
Size (totd-1.5.1.tar.gz) = 235809 bytes
+SHA1 (patch-aa) = b39db5c3a38c34b603038aa053e8a8711694e1ed
diff --git a/net/totd/patches/patch-aa b/net/totd/patches/patch-aa
new file mode 100644
index 00000000000..278ebe67fd5
--- /dev/null
+++ b/net/totd/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.4 2006/06/26 11:20:47 rillig Exp $
+
+Fixed gcc warning: subscript has type `char'.
+
+--- totd.c.orig 2005-02-02 12:10:31.000000000 +0100
++++ totd.c 2006-06-26 13:18:42.000000000 +0200
+@@ -167,7 +167,7 @@ int main (int argc, char **argv) {
+ }
+
+ if (T.user) {
+- if (isdigit(T.user[0])) {
++ if (isdigit((unsigned char)(T.user[0]))) {
+ T.uid = atoi(T.user);
+ pwd_p = NULL;
+ } else {
+@@ -191,7 +191,7 @@ to: %s", T.user);
+ }
+
+ if (T.group) {
+- if (isdigit(T.group[0])) {
++ if (isdigit((unsigned char)(T.group[0]))) {
+ T.gid = atoi(T.group);
+ } else {
+ struct group *grp_p;