summaryrefslogtreecommitdiff
path: root/chat/gtkyahoo/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'chat/gtkyahoo/patches/patch-ac')
-rw-r--r--chat/gtkyahoo/patches/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/chat/gtkyahoo/patches/patch-ac b/chat/gtkyahoo/patches/patch-ac
new file mode 100644
index 00000000000..22268f15650
--- /dev/null
+++ b/chat/gtkyahoo/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2002/03/31 14:13:46 dmcmahill Exp $
+LP64 fixes
+
+--- gtkyahoo.c.orig Fri Aug 17 05:41:11 2001
++++ gtkyahoo.c
+@@ -201,11 +201,11 @@
+ return (1);
+ }
+
+-void launch_browser_cb(GtkWidget * w, gpointer data)
+-{
+- char *url = (char *) data;
+
+- launch_browser(url);
++void launch_browser_cb(gpointer data, guint action, GtkWidget *widget)
++{
++ extern char *preset_urls[];
++ launch_browser(preset_urls[action]);
+ }
+
+ static int id_is_sys_id (const char *id)