-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The complete diffs from 4.1.30 to fix this mess are below.
Or you can visit sourceforge.net/projects/ipfilter and pickup
the file there..
Darren
Index: arc4random.c
===================================================================
RCS file: /cvsroot/ipfilter/ipfilter/Attic/arc4random.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
- --- arc4random.c 24 Jul 2008 09:30:50 -0000 1.1.2.1
+++ arc4random.c 26 Jul 2008 20:09:06 -0000 1.1.2.2
@@ -9,8 +9,6 @@
~ * Dan Moschuk
~ */
- -#include <sys/cdefs.h>
- -
~ #include <sys/types.h>
~ #include <sys/param.h>
~ #ifdef __FreeBSD__
@@ -195,6 +193,9 @@
~ nsrc = src;
~ mylen = length;
+#if defined(_SYS_MD5_H) && defined(SOLARIS2)
+# define buf buf_un.buf8
+#endif
~ while ((mylen > 64) && (sizeof(pot) - inpot >
sizeof(md5ctx.buf))) {
~ MD5Update(&md5ctx, nsrc, 64);
~ mylen -= 64;
@@ -217,6 +218,9 @@
~ inpot += 64;
~ MUTEX_EXIT(&arc4_mtx);
~ }
+#if defined(_SYS_MD5_H) && defined(SOLARIS2)
+# undef buf
+#endif
~ }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiLiBEACgkQP7JIXtvLbFUaegCgqkscMFIL/OMj8i7qCOkTKc5t
O4kAoLNFOe/YVchq92H62qUZbWzKNS1q
=fCt6
-----END PGP SIGNATURE-----