summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-08 00:13:53 +0000
committermarino <marino@pkgsrc.org>2012-08-08 00:13:53 +0000
commit5ec23799253aec7342c5193fe536efb5e30fc84c (patch)
treed260ff365d8ec0470483e593e8e6ab36ed85ef33 /net
parentbfee16744bf170833a9f13ab373a64f50903489b (diff)
downloadpkgsrc-5ec23799253aec7342c5193fe536efb5e30fc84c.tar.gz
net/quagga: Expand ip_mreq hack conftest to DragonFly
DragonFly can't support the Multicast API so in order for quagga to build the conftest for ip_mreq needs to return positive for all versions of DragonFly. The configure script was patched, but this probably could have been accomplished by overriding the configure cache from the Maefile. DragonFly successfully buids with this conftest change.
Diffstat (limited to 'net')
-rw-r--r--net/quagga/distinfo3
-rw-r--r--net/quagga/patches/patch-configure13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/quagga/distinfo b/net/quagga/distinfo
index 425010096c1..92de6290a4e 100644
--- a/net/quagga/distinfo
+++ b/net/quagga/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2012/06/07 16:51:43 gdt Exp $
+$NetBSD: distinfo,v 1.15 2012/08/08 00:13:53 marino 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
diff --git a/net/quagga/patches/patch-configure b/net/quagga/patches/patch-configure
new file mode 100644
index 00000000000..f31eb809f9a
--- /dev/null
+++ b/net/quagga/patches/patch-configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-configure,v 1.1 2012/08/08 00:13:54 marino Exp $
+
+--- 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__)
++ return (0);
+ #else
+ #error No support for BSD struct ip_mreq hack detected
+ #endif