summaryrefslogtreecommitdiff
path: root/devel/sfslite/patches/patch-aa
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2012-05-07 07:25:54 +0000
committeragc <agc@pkgsrc.org>2012-05-07 07:25:54 +0000
commit9e7eb973e5e75ca5aaa0aabffd883f2f568c8482 (patch)
tree444412ced9afbcc02685ce7112dc3a9421e205ed /devel/sfslite/patches/patch-aa
parent636b5307f400dfe155b25f03363c4fce489f15a6 (diff)
downloadpkgsrc-9e7eb973e5e75ca5aaa0aabffd883f2f568c8482.tar.gz
Import sfslite-1.2.7 into the Packages Collection:
The SFS toolkit was developed to support the SFS distributed file system (see http://www.fs.net). But because others use the toolkit for other reasons, we're making SFS's libraries available as a separate, lightweight package.
Diffstat (limited to 'devel/sfslite/patches/patch-aa')
-rw-r--r--devel/sfslite/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/sfslite/patches/patch-aa b/devel/sfslite/patches/patch-aa
new file mode 100644
index 00000000000..c93ed1164b5
--- /dev/null
+++ b/devel/sfslite/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $
+
+Old C++ warning
+
+--- async/myaddrs.C 2012/03/28 12:41:30 1.1
++++ async/myaddrs.C 2012/03/28 12:42:18
+@@ -74,7 +74,7 @@
+ res->clear ();
+ bhash<in_addr> addrs;
+
+- p = ifc.ifc_buf;
++ p = (char *)(void *)ifc.ifc_buf;
+ e = p + ifc.ifc_len;
+ while (p < e) {
+ struct ifreq *ifrp = (struct ifreq *) p;