pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/xorp Fix build fails on recent DragonFly and OpenB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d22095c3550
branches:  trunk
changeset: 542648:9d22095c3550
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 24 10:37:32 2008 +0000

description:
Fix build fails on recent DragonFly and OpenBSD, removed FDDI and Token Ring
support.

Patch provided by Hasso Tepper in PR 38621 (already fixed in upstream).

diffstat:

 net/xorp/distinfo         |   3 ++-
 net/xorp/patches/patch-ag |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 321f0627a763 -r 9d22095c3550 net/xorp/distinfo
--- a/net/xorp/distinfo Sat May 24 10:30:01 2008 +0000
+++ b/net/xorp/distinfo Sat May 24 10:37:32 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2007/10/13 15:15:50 obache Exp $
+$NetBSD: distinfo,v 1.10 2008/05/24 10:37:32 obache Exp $
 
 SHA1 (xorp-1.4.tar.gz) = 28f27ab220ddb571a244143c87d18685d72266ee
 RMD160 (xorp-1.4.tar.gz) = 4ebbc506d52e996bf15f43c0df1960cefd0dbaf6
 Size (xorp-1.4.tar.gz) = 8496928 bytes
 SHA1 (patch-ab) = a3782f5ff1d2e8de640ecb72b7473e35d17ff56e
 SHA1 (patch-af) = 0b05653dda8067856967fe033851f7466525cf40
+SHA1 (patch-ag) = eeca71c1e2908040f9e3b2dc0ec056884d2c77f2
diff -r 321f0627a763 -r 9d22095c3550 net/xorp/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/xorp/patches/patch-ag Sat May 24 10:37:32 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 2008/05/24 10:37:32 obache Exp $
+
+--- fea/ifconfig_media.cc.orig 2007-02-16 22:45:42.000000000 +0000
++++ fea/ifconfig_media.cc
+@@ -94,8 +94,12 @@ ifconfig_media_get_link_status(const str
+ 
+       switch (IFM_TYPE(ifmr.ifm_active)) {
+       case IFM_ETHER:
++#ifdef IFM_FDDI
+       case IFM_FDDI:
++#endif
++#ifdef IFM_TOKEN
+       case IFM_TOKEN:
++#endif
+       case IFM_IEEE80211:
+           if ((ifmr.ifm_status & IFM_AVALID)
+               && (ifmr.ifm_status & IFM_ACTIVE)) {



Home | Main Index | Thread Index | Old Index