summaryrefslogtreecommitdiff
path: root/www/drivel/patches/patch-ab
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-06-26 17:16:21 +0000
committerjmmv <jmmv>2004-06-26 17:16:21 +0000
commitd84c71481842cc02f26ca099fb2e1e2349e02fac (patch)
treebc2cba45012e55f5890c392c7417edf0a31e7b17 /www/drivel/patches/patch-ab
parentec0d3292b394314f89eb98e556e120efa1dd1f06 (diff)
downloadpkgsrc-d84c71481842cc02f26ca099fb2e1e2349e02fac.tar.gz
Update to 1.0.1:
* Fixes: - Resolved a network threading issue that prevented Drivel from working on NetBSD, and possibly the other BSD variants as well. - Fixed the autosave feature. - Keybinding fixes to allow better interoperability with emacs bindings. - Resolve a couple of bugs in the History dialog (still requires GTK+ 2.4.4 or higher to work correctly) (Davyd Madeley). - Correct the lj-lq tag in the poll creator (Grahame Bowland). - Don't duplicate the protocol in the Insert Link dialog (gnome@nash.nu).
Diffstat (limited to 'www/drivel/patches/patch-ab')
-rw-r--r--www/drivel/patches/patch-ab55
1 files changed, 0 insertions, 55 deletions
diff --git a/www/drivel/patches/patch-ab b/www/drivel/patches/patch-ab
deleted file mode 100644
index 4ebb0a86e6f..00000000000
--- a/www/drivel/patches/patch-ab
+++ /dev/null
@@ -1,55 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/06/22 21:31:08 jmmv Exp $
-
---- src/network.c.orig 2004-06-22 22:36:40.000000000 +0200
-+++ src/network.c
-@@ -35,6 +35,7 @@
- #define BUFFER_SIZE 1
-
- extern GMutex *network_mutex;
-+gint network_busy = 0;
- gchar *post_data = NULL;
- gint dialog_count = 0;
- DrivelRequestType global_type;
-@@ -310,7 +311,15 @@ send_get_request (gpointer data)
-
- ThreadData *td;
-
-- g_mutex_lock (network_mutex);
-+ for (;;) {
-+ g_mutex_lock (network_mutex);
-+ if (!network_busy) {
-+ network_busy = 1;
-+ g_mutex_unlock (network_mutex);
-+ break;
-+ }
-+ g_mutex_unlock (network_mutex);
-+ }
-
- td = (ThreadData *)data;
-
-@@ -397,7 +406,15 @@ send_request (gpointer data)
- glong http_code;
- ThreadData *td;
-
-- g_mutex_lock (network_mutex);
-+ for (;;) {
-+ g_mutex_lock (network_mutex);
-+ if (!network_busy) {
-+ network_busy = 1;
-+ g_mutex_unlock (network_mutex);
-+ break;
-+ }
-+ g_mutex_unlock (network_mutex);
-+ }
-
- td = (ThreadData *) data;
-
-@@ -522,6 +539,8 @@ lj_network_loop (gpointer data)
-
- dialog_close (dc);
-
-+ g_mutex_lock (network_mutex);
-+ network_busy = 0;
- g_mutex_unlock (network_mutex);
-
- g_free (queue_data);