diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-04 08:26:36 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-04 08:26:36 +0800 |
commit | 12ef5fbf430134cde50ac3550af86100b900d1c2 (patch) | |
tree | 86143bca18c430f62ad52499a4e71aa3f994bff6 | |
parent | 2cd73aa53ed857163d9da938ce5167f1d7f5f6de (diff) | |
download | marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar.gz marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar.bz2 marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar.lz marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar.xz marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.tar.zst marcuscom-ports-12ef5fbf430134cde50ac3550af86100b900d1c2.zip |
Add ath support to the wireless applet.
Obtained from: FreeBSD ports tree
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1593 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gnome-applets/Makefile | 1 | ||||
-rw-r--r-- | x11/gnome-applets/files/patch-wireless_wireless-applet.c | 4 | ||||
-rw-r--r-- | x11/gnomeapplets2/Makefile | 1 | ||||
-rw-r--r-- | x11/gnomeapplets2/files/patch-wireless_wireless-applet.c | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index bdd1174c6..84260faa2 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomeapplets2 PORTVERSION= 2.5.3 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-applets/2.5 diff --git a/x11/gnome-applets/files/patch-wireless_wireless-applet.c b/x11/gnome-applets/files/patch-wireless_wireless-applet.c index 45c6f1251..650c4694a 100644 --- a/x11/gnome-applets/files/patch-wireless_wireless-applet.c +++ b/x11/gnome-applets/files/patch-wireless_wireless-applet.c @@ -1,5 +1,5 @@ --- wireless/wireless-applet.c.orig Tue Oct 21 19:06:53 2003 -+++ wireless/wireless-applet.c Sat Nov 15 16:32:02 2003 ++++ wireless/wireless-applet.c Sat Jan 3 19:26:43 2004 @@ -30,6 +30,15 @@ #include <math.h> #include <dirent.h> @@ -242,7 +242,7 @@ + } + } + else -+ if (g_strncasecmp(device, "wi", 2)==0) { ++ if (g_strncasecmp(device, "wi", 2)==0 || g_strncasecmp(device, "ath", 3)==0) { + applet->devices = g_list_prepend (applet->devices, g_strdup (device)); + if (g_strcasecmp(applet->device, device)==0) { + get_wi_data(applet, device, &level); diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile index bdd1174c6..84260faa2 100644 --- a/x11/gnomeapplets2/Makefile +++ b/x11/gnomeapplets2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomeapplets2 PORTVERSION= 2.5.3 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-applets/2.5 diff --git a/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c b/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c index 45c6f1251..650c4694a 100644 --- a/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c +++ b/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c @@ -1,5 +1,5 @@ --- wireless/wireless-applet.c.orig Tue Oct 21 19:06:53 2003 -+++ wireless/wireless-applet.c Sat Nov 15 16:32:02 2003 ++++ wireless/wireless-applet.c Sat Jan 3 19:26:43 2004 @@ -30,6 +30,15 @@ #include <math.h> #include <dirent.h> @@ -242,7 +242,7 @@ + } + } + else -+ if (g_strncasecmp(device, "wi", 2)==0) { ++ if (g_strncasecmp(device, "wi", 2)==0 || g_strncasecmp(device, "ath", 3)==0) { + applet->devices = g_list_prepend (applet->devices, g_strdup (device)); + if (g_strcasecmp(applet->device, device)==0) { + get_wi_data(applet, device, &level); |