pkgsrc-Bugs archive

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

pkg/37974: net/gated from pkgsrc does not compile on netbsd-4.0 (amd64)

>Number:         37974
>Category:       pkg
>Synopsis:       net/gated from pkgsrc does not compile on netbsd-4.0 (amd64)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 07 14:55:00 +0000 2008
>Originator:     Wolfgang Stukenbrock
>Release:        pkgsrc-2007Q4, NetBSD 4.0
Dr. Nagler & Company GmbH
System: NetBSD s010 4.0 NetBSD 4.0 (NSW-S010) #0: Fri Mar  7 11:25:01 CET 2008  
root@s010:/usr/src/sys/arch/amd64/compile/NSW-S010 amd64
Architecture: x86_64
Machine: amd64
        There are two kinds of problem compiling net/gated.
        1. src/if.c does not compile due to a static/non-static declaration 
        2. the implementation of the protocols isis and slsp are not 64-Bit 
           The compilation will fail with pointer integer size mismatch 
        Try to compile net/gated on an amd64 machine.
        The following two patches will "solve" this problem.
        I'm not shure, if there is an easy may to select isis and slsp on 32-Bit
        machines and disable them on 64-Bit ones. This patch will disable them 
        all achitectures. The patch for src/configs/netbsd should be integrated 
        the patch-aa. There this file gets already patched - e.g. the "hello" 
        is removed from the list of supported protocols there.

--- src/if.c.orig       2008-02-07 15:11:51.000000000 +0100
+++ src/if.c
@@ -127,7 +127,7 @@
-static const bits if_change_bits[] =
+const bits if_change_bits[] =
 /*  {IFC_NOCHANGE,     "NoChange"}, */
     {IFC_REFRESH,      "Refresh"},

--- src/configs/netbsd.orig     2008-02-07 15:19:59.000000000 +0100
+++ src/configs/netbsd
@@ -40,4 +40,4 @@
 path_version   /var/run/%s.version
 path_unix      /netbsd
-protocols      bgp egp icmp rip ospf iso slsp isis rdisc
+protocols      bgp egp icmp rip ospf iso rdisc


Home | Main Index | Thread Index | Old Index