summaryrefslogtreecommitdiff
path: root/net/xorp
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-05-24 10:37:32 +0000
committerobache <obache@pkgsrc.org>2008-05-24 10:37:32 +0000
commita8eff90e0c38f542e7ea142bd25b80ed7c0aa0c1 (patch)
treeee64317060db0e3a110ee738a8473a88cda6752c /net/xorp
parent6796e4e5f24e96421c35533038d5d5dbfcd3577c (diff)
downloadpkgsrc-a8eff90e0c38f542e7ea142bd25b80ed7c0aa0c1.tar.gz
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 (limited to 'net/xorp')
-rw-r--r--net/xorp/distinfo3
-rw-r--r--net/xorp/patches/patch-ag17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/xorp/distinfo b/net/xorp/distinfo
index ef629482931..0a8e6ba2da8 100644
--- a/net/xorp/distinfo
+++ b/net/xorp/distinfo
@@ -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 --git a/net/xorp/patches/patch-ag b/net/xorp/patches/patch-ag
new file mode 100644
index 00000000000..43501bea1dc
--- /dev/null
+++ b/net/xorp/patches/patch-ag
@@ -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)) {