diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:36:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:36:37 +0000 |
commit | 7449d346400e5dbbb7c8382ea1e33105e206b383 (patch) | |
tree | d272684e82f5d9b72b6c4a57fa80a525f26a4f64 /net | |
parent | 1830b7cf3594fc0d800d638626c1a3946ce83d67 (diff) | |
download | pkgsrc-7449d346400e5dbbb7c8382ea1e33105e206b383.tar.gz |
Use socklen_t. Don't bail out on K&R promotion warnings for clang.
Diffstat (limited to 'net')
-rw-r--r-- | net/pim6dd/Makefile | 4 | ||||
-rw-r--r-- | net/pim6dd/distinfo | 3 | ||||
-rw-r--r-- | net/pim6dd/patches/patch-pim6.c | 13 |
3 files changed, 18 insertions, 2 deletions
diff --git a/net/pim6dd/Makefile b/net/pim6dd/Makefile index 71368a94359..ab7080d8072 100644 --- a/net/pim6dd/Makefile +++ b/net/pim6dd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2012/10/23 17:18:58 asau Exp $ +# $NetBSD: Makefile,v 1.18 2013/09/10 14:36:37 joerg Exp $ DISTNAME= pim6dd-20031021a PKGREVISION= 1 @@ -11,6 +11,8 @@ COMMENT= IPv6 PIM dense mode daemon USE_BSD_MAKEFILE= yes USE_FEATURES+= inet6 +MAKE_ENV+= CWARNFLAGS.clang=-Wno-error=knr-promoted-parameter + CONFLICTS= mcast-tools-* WRKSRC= ${WRKDIR}/${DISTNAME}/pim6dd/ diff --git a/net/pim6dd/distinfo b/net/pim6dd/distinfo index 2eebe2d9f68..ce0fa892717 100644 --- a/net/pim6dd/distinfo +++ b/net/pim6dd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2006/03/14 02:38:37 joerg Exp $ +$NetBSD: distinfo,v 1.9 2013/09/10 14:36:37 joerg Exp $ SHA1 (pim6dd-20031021a.tar.gz) = 7dac6a611433a4e0b643d3a8b9ff46267abdb6ff RMD160 (pim6dd-20031021a.tar.gz) = 27c55cfe054d8942d93e13a1289a6bd29a07a4dd @@ -6,3 +6,4 @@ Size (pim6dd-20031021a.tar.gz) = 84817 bytes SHA1 (patch-aa) = 8b11f1530d6e382ff4a4561e32ff27072c11dfe5 SHA1 (patch-ab) = 631ff729b8aad01d46b8443a4838d35b59725854 SHA1 (patch-ac) = e2cf4f7388f0ab8ade9843a42329c37130bf62af +SHA1 (patch-pim6.c) = b5f9f615d34859d152968136833ddef194cb7bbf diff --git a/net/pim6dd/patches/patch-pim6.c b/net/pim6dd/patches/patch-pim6.c new file mode 100644 index 00000000000..525b4e62a8c --- /dev/null +++ b/net/pim6dd/patches/patch-pim6.c @@ -0,0 +1,13 @@ +$NetBSD: patch-pim6.c,v 1.1 2013/09/10 14:36:37 joerg Exp $ + +--- pim6.c.orig 2013-09-10 12:21:48.000000000 +0000 ++++ pim6.c +@@ -142,7 +142,7 @@ pim6_read(f, rfd) + fd_set *rfd; + { + register int pim6_recvlen; +- int fromlen = sizeof(from); ++ socklen_t fromlen = sizeof(from); + #ifdef SYSV + sigset_t block, oblock; + #else |