diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-03 00:40:47 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-03 00:40:47 +0800 |
commit | cbca6463f0969e7339f9c797295786b4ee4ecdad (patch) | |
tree | 5eb70e5ec0b8f54802163a860b9a04b03fe88b49 /net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | |
parent | f06448e26abef6c66f956a8bf231795627e3a8ac (diff) | |
download | marcuscom-ports-cbca6463f0969e7339f9c797295786b4ee4ecdad.tar.gz marcuscom-ports-cbca6463f0969e7339f9c797295786b4ee4ecdad.tar.zst marcuscom-ports-cbca6463f0969e7339f9c797295786b4ee4ecdad.zip |
Fix the build with the new gnome-doc-utils.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8270 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c')
-rw-r--r-- | net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c new file mode 100644 index 000000000..b674048d5 --- /dev/null +++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c @@ -0,0 +1,25 @@ +--- src/netstatus-sysdeps.c.orig Mon Mar 14 09:34:06 2005 ++++ src/netstatus-sysdeps.c Mon Jan 30 21:44:49 2006 +@@ -430,11 +430,11 @@ static inline char * + get_an_data (const char *iface, + int *signal_strength) + { ++ struct an_ltv_status *sts; ++ struct an_req areq; + #ifdef AN_RID_RSSI_MAP + struct an_ltv_rssi_map an_rssimap; + #endif +- struct an_req areq; +- struct an_ltv_status *sts; + int level; + char *error = NULL; + gboolean rssimap_valid = FALSE; +@@ -548,6 +548,8 @@ netstatus_sysdeps_read_iface_wireless_de + g_strncasecmp (iface, "wi", 2) && + g_strncasecmp (iface, "ath", 3) && + g_strncasecmp (iface, "ndis", 4) && ++ g_strncasecmp (iface, "ural", 4) && ++ g_strncasecmp (iface, "ral", 3) && + g_strncasecmp (iface, "ipw", 3) && + g_strncasecmp (iface, "iwi", 3) && + g_strncasecmp (iface, "acx", 3)) |