summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2009-03-06 01:55:27 +0000
committerjmcneill <jmcneill@pkgsrc.org>2009-03-06 01:55:27 +0000
commitc2003ec63f35ec1866a32852e5f499d15a0611e1 (patch)
tree52c3dbd57b1de33cd5959c0eb4d4b4debb1f208e
parent85653576f46a71c6918399e9ac0cf2e081724a95 (diff)
downloadpkgsrc-c2003ec63f35ec1866a32852e5f499d15a0611e1.tar.gz
Use level instead of qual for signal strength reporting.
-rw-r--r--net/dhcpcd-gtk/Makefile3
-rw-r--r--net/dhcpcd-gtk/distinfo3
-rw-r--r--net/dhcpcd-gtk/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/net/dhcpcd-gtk/Makefile b/net/dhcpcd-gtk/Makefile
index 9485f0f2174..4ba1f81b5cd 100644
--- a/net/dhcpcd-gtk/Makefile
+++ b/net/dhcpcd-gtk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/05 23:51:55 roy Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/06 01:55:27 jmcneill Exp $
#
DISTNAME= dhcpcd-gtk-0.3.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
diff --git a/net/dhcpcd-gtk/distinfo b/net/dhcpcd-gtk/distinfo
index f68c6adbedd..9c26694cce5 100644
--- a/net/dhcpcd-gtk/distinfo
+++ b/net/dhcpcd-gtk/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/03/05 23:51:55 roy Exp $
+$NetBSD: distinfo,v 1.2 2009/03/06 01:55:27 jmcneill Exp $
SHA1 (dhcpcd-gtk-0.3.0.tar.bz2) = b16368ab39a7189b2056cef9f1d4b5bda46c539a
RMD160 (dhcpcd-gtk-0.3.0.tar.bz2) = 01dbf5cf585359edcc5b05cc79147c46d872f0b3
Size (dhcpcd-gtk-0.3.0.tar.bz2) = 14445 bytes
+SHA1 (patch-aa) = af08d0a93a3d4c5fc70edcfffe1661e2697e510b
diff --git a/net/dhcpcd-gtk/patches/patch-aa b/net/dhcpcd-gtk/patches/patch-aa
new file mode 100644
index 00000000000..0b1d5f081be
--- /dev/null
+++ b/net/dhcpcd-gtk/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/03/06 01:55:27 jmcneill Exp $
+
+--- menu.c.orig 2009-03-05 14:23:21.000000000 -0500
++++ menu.c
+@@ -126,7 +126,7 @@ add_scan_results(GtkMenu *menu, const st
+ bar = gtk_progress_bar_new();
+ gtk_widget_set_size_request(bar, 100, -1);
+ gtk_box_pack_end(GTK_BOX(box), bar, FALSE, TRUE, 0);
+- strength = CLAMP(ifa->quality, 0, 100);
++ strength = CLAMP(ifa->level, 0, 100);
+ perc = strength / 100.0;
+ gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(bar), perc);
+