diff options
author | cokane <cokane@FreeBSD.org> | 2008-04-24 02:22:48 +0800 |
---|---|---|
committer | cokane <cokane@FreeBSD.org> | 2008-04-24 02:22:48 +0800 |
commit | 48eb214977ebb8861870bccf12f7f7cd76d4c644 (patch) | |
tree | c3db33433ba8524b0c6d08e68e70a6d26704e33f | |
parent | e4ac8a402348a7391f331bf6a39845eb1af741e1 (diff) | |
download | freebsd-ports-gnome-48eb214977ebb8861870bccf12f7f7cd76d4c644.tar.gz freebsd-ports-gnome-48eb214977ebb8861870bccf12f7f7cd76d4c644.tar.zst freebsd-ports-gnome-48eb214977ebb8861870bccf12f7f7cd76d4c644.zip |
Update to match the latest addition of wlan VAP code in
-CURRENT. Now, the wireless interfaces are cloned wlan
interfaces attached to the physical interfaces. The
physical interfaces aren't accessed by 80211 ioctls
anymore.
Reviewed by: sam, marcus (gnome)
Approved by: marcus
-rw-r--r-- | net/gnome-netstatus/Makefile | 2 | ||||
-rw-r--r-- | net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile index b0fb182c23d9..c9ed374d4fa2 100644 --- a/net/gnome-netstatus/Makefile +++ b/net/gnome-netstatus/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnome-netstatus PORTVERSION= 2.12.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c index 5ffcd32f501a..dca19039a579 100644 --- a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c +++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c @@ -1,5 +1,5 @@ --- src/netstatus-sysdeps.c.orig 2007-02-13 04:39:19.000000000 -0500 -+++ src/netstatus-sysdeps.c 2007-07-29 13:14:34.000000000 -0400 ++++ src/netstatus-sysdeps.c 2008-04-23 13:07:24.000000000 -0400 @@ -37,13 +37,26 @@ #ifdef __FreeBSD__ @@ -157,7 +157,12 @@ char * netstatus_sysdeps_read_iface_wireless_details (const char *iface, -@@ -548,21 +633,44 @@ netstatus_sysdeps_read_iface_wireless_de +@@ -544,25 +629,52 @@ netstatus_sysdeps_read_iface_wireless_de + if (signal_strength) + *signal_strength = 0; + ++#if __FreeBSD_version < 800036 + if (g_strncasecmp (iface, "an", 2) && g_strncasecmp (iface, "wi", 2) && g_strncasecmp (iface, "ath", 3) && g_strncasecmp (iface, "ndis", 4) && @@ -168,6 +173,9 @@ + g_strncasecmp (iface, "rum", 3) && + g_strncasecmp (iface, "ray", 3) && g_strncasecmp (iface, "acx", 3)) ++#else ++ if (g_strncasecmp (iface, "wlan", 4)) ++#endif return error_message; +#if __FreeBSD_version < 700046 |