pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/quagga net/quagga: Expand ip_mreq hack conftest to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e98e67db6a5f
branches:  trunk
changeset: 607291:e98e67db6a5f
user:      marino <marino%pkgsrc.org@localhost>
date:      Wed Aug 08 00:13:53 2012 +0000

description:
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:

 net/quagga/distinfo                |   3 ++-
 net/quagga/patches/patch-configure |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r ce71a2e97e16 -r e98e67db6a5f net/quagga/distinfo
--- a/net/quagga/distinfo       Tue Aug 07 23:41:23 2012 +0000
+++ b/net/quagga/distinfo       Wed Aug 08 00:13:53 2012 +0000
@@ -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 -r ce71a2e97e16 -r e98e67db6a5f net/quagga/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-configure        Wed Aug 08 00:13:53 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index