remove unwanted patches since last update.
This commit is contained in:
parent
25a46c7005
commit
e58989bcee
2 changed files with 0 additions and 49 deletions
|
@ -1,35 +0,0 @@
|
|||
$NetBSD: patch-aa,v 1.3 2010/12/07 22:53:48 abs Exp $
|
||||
|
||||
--- if-bsd.c.orig 2010-12-05 21:31:47.000000000 +0000
|
||||
+++ if-bsd.c
|
||||
@@ -37,10 +37,12 @@
|
||||
#include <net/if_dl.h>
|
||||
#include <net/route.h>
|
||||
#include <netinet/in.h>
|
||||
-#ifdef __DragonFly__
|
||||
+#ifndef __APPLE__
|
||||
+# ifdef __DragonFly__
|
||||
# include <netproto/802_11/ieee80211_ioctl.h>
|
||||
-#else
|
||||
+# else
|
||||
# include <net80211/ieee80211_ioctl.h>
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
@@ -342,6 +344,7 @@ manage_link(int fd)
|
||||
for (p = link_buf; p < e; p += rtm->rtm_msglen) {
|
||||
rtm = (struct rt_msghdr *)(void *)p;
|
||||
switch(rtm->rtm_type) {
|
||||
+#ifdef RTM_IFANNOUNCE
|
||||
case RTM_IFANNOUNCE:
|
||||
ifan = (struct if_announcemsghdr *)(void *)p;
|
||||
switch(ifan->ifan_what) {
|
||||
@@ -353,6 +356,7 @@ manage_link(int fd)
|
||||
break;
|
||||
}
|
||||
break;
|
||||
+#endif
|
||||
case RTM_IFINFO:
|
||||
ifm = (struct if_msghdr *)(void *)p;
|
||||
memset(ifname, 0, sizeof(ifname));
|
|
@ -1,14 +0,0 @@
|
|||
$NetBSD: patch-ab,v 1.1 2010/12/07 22:53:48 abs Exp $
|
||||
|
||||
--- platform-bsd.c.orig 2010-12-05 22:00:27.000000000 +0000
|
||||
+++ platform-bsd.c
|
||||
@@ -31,6 +31,9 @@
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
+#ifdef __APPLE__
|
||||
+# define SYS_NMLN 256
|
||||
+#endif
|
||||
static char march[SYS_NMLN];
|
||||
|
||||
char *
|
Loading…
Reference in a new issue