pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/totd Fixed gcc warnings.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1484a09885d5
branches: trunk
changeset: 515151:1484a09885d5
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jun 26 11:20:47 2006 +0000
description:
Fixed gcc warnings.
diffstat:
net/totd/Makefile | 4 +---
net/totd/distinfo | 3 ++-
net/totd/patches/patch-aa | 24 ++++++++++++++++++++++++
3 files changed, 27 insertions(+), 4 deletions(-)
diffs (57 lines):
diff -r 1e2ccc041121 -r 1484a09885d5 net/totd/Makefile
--- a/net/totd/Makefile Mon Jun 26 11:14:56 2006 +0000
+++ b/net/totd/Makefile Mon Jun 26 11:20:47 2006 +0000
@@ -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 @@
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 -r 1e2ccc041121 -r 1484a09885d5 net/totd/distinfo
--- a/net/totd/distinfo Mon Jun 26 11:14:56 2006 +0000
+++ b/net/totd/distinfo Mon Jun 26 11:20:47 2006 +0000
@@ -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 -r 1e2ccc041121 -r 1484a09885d5 net/totd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/totd/patches/patch-aa Mon Jun 26 11:20:47 2006 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index