pkgsrc/sysutils/cfengine2/patches/patch-ac
pettai 16d8111eee Updated to version 2.2.10
Protocol fix, potential integer error in server decoding.
2010-05-09 22:09:30 +00:00

13 lines
417 B
Text

$NetBSD: patch-ac,v 1.2 2010/05/09 22:09:30 pettai Exp $
--- src/nameinfo.c.orig 2010-03-22 15:32:43.000000000 +0100
+++ src/nameinfo.c 2010-03-22 15:31:57.000000000 +0100
@@ -40,7 +40,7 @@
#include <sys/systemcfg.h>
#endif
-#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
+#if defined (HAVE_STRUCT_SOCKADDR_SA_LEN) && !defined(__NetBSD__)
# ifdef _SIZEOF_ADDR_IFREQ
# define SIZEOF_IFREQ(x) _SIZEOF_ADDR_IFREQ(x)
# else