Buildworld broken on amd64
Steve Kargl
sgk at troutmask.apl.washington.edu
Tue Feb 14 14:27:30 PST 2006
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
@@ -328,8 +328,8 @@
{ 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
More information about the freebsd-current
mailing list