pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/avenger On NetBSD, struct ifconf.ifc_buf is a voi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad5add8074eb
branches: trunk
changeset: 535967:ad5add8074eb
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 30 20:09:36 2007 +0000
description:
On NetBSD, struct ifconf.ifc_buf is a void *.
diffstat:
mail/avenger/distinfo | 4 +++-
mail/avenger/patches/patch-ab | 24 ++++++++++++++++++++++++
mail/avenger/patches/patch-ac | 15 +++++++++++++++
3 files changed, 42 insertions(+), 1 deletions(-)
diffs (60 lines):
diff -r bc5f57378af4 -r ad5add8074eb mail/avenger/distinfo
--- a/mail/avenger/distinfo Fri Nov 30 20:08:37 2007 +0000
+++ b/mail/avenger/distinfo Fri Nov 30 20:09:36 2007 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $
+$NetBSD: distinfo,v 1.2 2007/11/30 20:09:36 rillig Exp $
SHA1 (avenger-0.7.7.tar.gz) = 2ba44c82be8b78cf31758a25a79c8366ee6626b8
RMD160 (avenger-0.7.7.tar.gz) = f01eebb2f41224e8e8ad655ca15afa2d1ee06ce2
Size (avenger-0.7.7.tar.gz) = 824862 bytes
SHA1 (patch-aa) = 7df2d9ac15feaf69bbc93e33de59ca25891c4223
+SHA1 (patch-ab) = 831944e8447433b2697db2b3a58650aab19f4a19
+SHA1 (patch-ac) = 9b3625a090e0f9091468b86a99d0bea6535ac371
diff -r bc5f57378af4 -r ad5add8074eb mail/avenger/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/avenger/patches/patch-ab Fri Nov 30 20:09:36 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2007/11/30 20:09:36 rillig Exp $
+
+On NetBSD, struct ifconf.ifc_buf is a void *.
+
+--- asmtpd/synfp.C.orig 2005-10-19 23:52:26.000000000 +0000
++++ asmtpd/synfp.C 2007-11-30 20:06:43.000000000 +0000
+@@ -86,7 +86,7 @@ synfp::ifnames (vec<str> *ifs, in_addr t
+ for (str *sp = ifs->base (); sp < ifs->lim (); sp++)
+ seen.insert (*sp);
+
+- char *p = ifc.ifc_buf, *e = p + ifc.ifc_len;
++ char *p = static_cast<char *>(ifc.ifc_buf), *e = p + ifc.ifc_len;
+ while (p < e) {
+ struct ifreq *ifrp = (struct ifreq *) p;
+ struct ifreq ifr = *ifrp;
+@@ -151,7 +151,7 @@ synfp::ifaddrs (vec<in_addr> *addrs, str
+ for (in_addr *ap = addrs->base (); ap < addrs->lim (); ap++)
+ seen.insert (*ap);
+
+- char *p = ifc.ifc_buf, *e = p + ifc.ifc_len;
++ char *p = static_cast<char *>(ifc.ifc_buf), *e = p + ifc.ifc_len;
+ while (p < e) {
+ struct ifreq *ifrp = (struct ifreq *) p;
+ struct ifreq ifr = *ifrp;
diff -r bc5f57378af4 -r ad5add8074eb mail/avenger/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/avenger/patches/patch-ac Fri Nov 30 20:09:36 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/11/30 20:09:37 rillig Exp $
+
+On NetBSD, struct ifconf.ifc_buf is a void *.
+
+--- libasync/myaddrs.C.orig 2006-02-15 09:13:35.000000000 +0000
++++ libasync/myaddrs.C 2007-11-30 20:03:01.000000000 +0000
+@@ -74,7 +74,7 @@ myipaddrs (vec<in_addr> *res)
+ res->clear ();
+ bhash<in_addr> addrs;
+
+- p = ifc.ifc_buf;
++ p = static_cast<char *>(ifc.ifc_buf);
+ e = p + ifc.ifc_len;
+ while (p < e) {
+ struct ifreq *ifrp = (struct ifreq *) p;
Home |
Main Index |
Thread Index |
Old Index