Extend ip_mreq hack to SunOS platforms

This commit is contained in:
fhajny 2013-05-20 13:49:07 +00:00
parent 184d03d971
commit 52abd29e63
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.15 2012/08/08 00:13:53 marino Exp $
$NetBSD: distinfo,v 1.16 2013/05/20 13:49:07 fhajny Exp $
SHA1 (quagga-0.99.21.tar.gz) = 9f9874ca1d044e00ce38f990aadeb1a7e486213c
RMD160 (quagga-0.99.21.tar.gz) = 34d164b7e881b00e753df02b0efff7327fdc75de
Size (quagga-0.99.21.tar.gz) = 2297174 bytes
SHA1 (patch-configure) = 54d42bc70af4c714b8cccdcf40cc1f397d93024f
SHA1 (patch-configure) = 88a1707b8d765a0a0f1e2e9edab4cb274b2c4458

View file

@ -1,12 +1,13 @@
$NetBSD: patch-configure,v 1.1 2012/08/08 00:13:54 marino Exp $
$NetBSD: patch-configure,v 1.2 2013/05/20 13:49:07 fhajny Exp $
Extend ip_mreq hack to DragonFlyBSD and SunOS.
--- configure.orig 2012-05-01 20:48:03.000000000 +0000
+++ configure
@@ -16472,6 +16472,8 @@ main ()
{
#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)
return (0);
+#elif defined(__DragonFly__)
+#elif defined(__DragonFly__) || defined(__sun)
+ return (0);
#else
#error No support for BSD struct ip_mreq hack detected