summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2004-11-07 19:57:51 +0000
committeritojun <itojun@pkgsrc.org>2004-11-07 19:57:51 +0000
commit7de6956ba52e497af023a3e2c9a8cf1a3b23554a (patch)
tree717c21e4267ac7f429c2922ea0929ee131cfdaef
parent7b7e9d0f00ac90ee6646ff859441ce937e1beda3 (diff)
downloadpkgsrc-7de6956ba52e497af023a3e2c9a8cf1a3b23554a.tar.gz
make non-GTK2 mode compile (not sure if it is fully functional)
-rw-r--r--net/wistumbler2/distinfo3
-rw-r--r--net/wistumbler2/patches/patch-ad24
2 files changed, 26 insertions, 1 deletions
diff --git a/net/wistumbler2/distinfo b/net/wistumbler2/distinfo
index 3f33e647eed..fde6c76dc6b 100644
--- a/net/wistumbler2/distinfo
+++ b/net/wistumbler2/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2004/10/21 21:25:23 reinoud Exp $
+$NetBSD: distinfo,v 1.5 2004/11/07 19:57:51 itojun Exp $
SHA1 (wistumbler2.00-pre9.tar.gz) = c33709bdc9ff7c7ec6bb23132f2594ec4a143a71
Size (wistumbler2.00-pre9.tar.gz) = 40641 bytes
SHA1 (patch-aa) = 26313441ad1686f42d505b5823101b51abe425be
SHA1 (patch-ab) = 6efc148573cb17d5ca149f1d5bd1265753f2ca58
SHA1 (patch-ac) = 00e6e6cd043f39265d960ef1c113dd077939813b
+SHA1 (patch-ad) = 2fb6fd5c08a30e13800cff8459b868aac49c9518
diff --git a/net/wistumbler2/patches/patch-ad b/net/wistumbler2/patches/patch-ad
new file mode 100644
index 00000000000..9a5dd5622d9
--- /dev/null
+++ b/net/wistumbler2/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1 2004/11/07 19:57:51 itojun Exp $
+
+--- src/stumbler.c- 2004-11-08 04:54:27.000000000 +0900
++++ src/stumbler.c 2004-11-08 04:54:49.000000000 +0900
+@@ -328,8 +328,10 @@
+ if (naps&&!save)
+ do_beep(maxsignal);
+
++#if USE_GTK
+ while(gtk_events_pending())
+ gtk_main_iteration();
++#endif
+ }
+
+ int wi_polling()
+@@ -345,7 +347,7 @@
+ wistumbler_gui_error("No wifi devices found");
+ #else
+ printf("No wifi devices found");
+- if (!App.usex) working=false;
++ if (!App.usex) App.working=false;
+ #endif
+ return 0;
+ } else {