diff options
Diffstat (limited to 'devel/cvsps/patches/patch-ae')
-rw-r--r-- | devel/cvsps/patches/patch-ae | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/cvsps/patches/patch-ae b/devel/cvsps/patches/patch-ae new file mode 100644 index 00000000000..01a492f61c0 --- /dev/null +++ b/devel/cvsps/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2009/08/30 17:16:54 schmonz Exp $ + +--- cbtcommon/tcpsocket.c.orig 2005-05-25 23:39:40.000000000 -0400 ++++ cbtcommon/tcpsocket.c +@@ -198,7 +198,7 @@ convert_address(long *dest, const char * + memcpy(dest, &ip.s_addr, sizeof(ip.s_addr)); + } + #else +- if ( (*dest = inet_addr(addr_str)) != -1) ++ if ( (*dest = inet_addr(addr_str)) != (in_addr_t)-1) + { + /* nothing */ + } |