Re: Buildworld broken on amd64

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Tue, 14 Feb 2006 14:27:28 -0800
On Tue, Feb 14, 2006 at 02:01:19PM -0800, Steve Kargl wrote:
> cc -O2 -fno-strict-aliasing -pipe -march=opteron -Wall -Wmissing-prototypes -Wcast-qual -Wwrite
> -strings -Wnested-externs -DRESCUE  -c /usr/src/sbin/ifconfig/ifmedia.c
> /usr/src/sbin/ifconfig/ifmedia.c:345: error: `IFM_10GBASE_SR' undeclared here (not in a functio

Sigh.  It was a gratuitious change of a name in a header file
where the committer obviously did no testing.

--- if_media.h.orig     Tue Feb 14 14:25:37 2006
+++ if_media.h  Tue Feb 14 14:25:54 2006
_at__at_ -328,8 +328,8 _at__at_
        { IFM_1000_T,   "1000baseTX" },                                 \
        { IFM_1000_T,   "1000baseT" },                                  \
        { IFM_HPNA_1,   "homePNA" },                                    \
-       { IFM_10GBASE_SR, "10GBASE-SR" },                               \
-       { IFM_10GBASE_LR, "10GBASE-LR" },                               \
+       { IFM_10G_SR, "10GBASE-SR" },                           \
+       { IFM_10G_LR, "10GBASE-LR" },                           \
        { 0, NULL },                                                    \
 }


-- 
Steve
Received on Tue Feb 14 2006 - 21:27:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC