pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/quagga quagga: HAVE_BSD_STRUCT_IP_MREQ_HACK does n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b66bde73aa13
branches:  trunk
changeset: 374421:b66bde73aa13
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Mon Jan 22 13:42:06 2018 +0000

description:
quagga: HAVE_BSD_STRUCT_IP_MREQ_HACK does not work on SunOS

diffstat:

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

diffs (46 lines):

diff -r 9803ab52e00f -r b66bde73aa13 net/quagga/Makefile
--- a/net/quagga/Makefile       Mon Jan 22 13:37:45 2018 +0000
+++ b/net/quagga/Makefile       Mon Jan 22 13:42:06 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2017/10/08 15:25:45 gdt Exp $
+# $NetBSD: Makefile,v 1.57 2018/01/22 13:42:06 wiedi Exp $
 #
 
 DISTNAME=      quagga-1.2.2
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://download.savannah.gnu.org/releases/quagga/
 
diff -r 9803ab52e00f -r b66bde73aa13 net/quagga/distinfo
--- a/net/quagga/distinfo       Mon Jan 22 13:37:45 2018 +0000
+++ b/net/quagga/distinfo       Mon Jan 22 13:42:06 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.28 2017/10/08 15:25:45 gdt Exp $
+$NetBSD: distinfo,v 1.29 2018/01/22 13:42:06 wiedi Exp $
 
 SHA1 (quagga-1.2.2.tar.gz) = d2601270a39e707db88d0c39b81acb13b53e0568
 RMD160 (quagga-1.2.2.tar.gz) = daa24bc37661eb5436edf42a15ed4ae1bc1b56ef
 SHA512 (quagga-1.2.2.tar.gz) = 861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14
 Size (quagga-1.2.2.tar.gz) = 2986142 bytes
+SHA1 (patch-configure) = 310295eeed487ccadbd7f56ae71dbb7cf0c71919
 SHA1 (patch-solaris_quagga.init.in) = 47569aaffe2713809e21ebbb76164cf50b7f983f
 SHA1 (patch-zebra_kernel__socket.c) = 82c1be406ec587d7bc4d6eec39f9daebbc34e999
diff -r 9803ab52e00f -r b66bde73aa13 net/quagga/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-configure        Mon Jan 22 13:42:06 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.6 2018/01/22 13:42:07 wiedi Exp $
+HAVE_BSD_STRUCT_IP_MREQ_HACK does not work on SunOS
+Results in: can't setsockopt IP_MULTICAST_IF(...): No route to host
+
+--- configure.orig     2017-10-03 14:59:10.000000000 +0000
++++ configure
+@@ -20631,7 +20631,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && 
defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__) || defined(__sun)
++#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && 
defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__))
+   return (0);
+ #else
+   #error No support for BSD struct ip_mreq hack detected



Home | Main Index | Thread Index | Old Index