summaryrefslogtreecommitdiff
path: root/chat/gaim-otr
diff options
context:
space:
mode:
authornathanw <nathanw@pkgsrc.org>2005-04-11 20:13:47 +0000
committernathanw <nathanw@pkgsrc.org>2005-04-11 20:13:47 +0000
commit1277a2e29542038e3f85118f9b0665d4346dc454 (patch)
tree2b0912d2832a2469c7fb43e85f38e44a58fe3dc1 /chat/gaim-otr
parent1ab96e877127585836a2ee68eaa7bf70b2bd3af4 (diff)
downloadpkgsrc-1277a2e29542038e3f85118f9b0665d4346dc454.tar.gz
Unmix code and declarations, to placate c89 compilers.
(Patch submitted upstream)
Diffstat (limited to 'chat/gaim-otr')
-rw-r--r--chat/gaim-otr/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/chat/gaim-otr/patches/patch-ab b/chat/gaim-otr/patches/patch-ab
new file mode 100644
index 00000000000..7ea8e1e5590
--- /dev/null
+++ b/chat/gaim-otr/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2005/04/11 20:13:47 nathanw Exp $
+
+--- gtk-dialog.c.orig 2005-04-11 11:18:52.000000000 -0400
++++ gtk-dialog.c 2005-04-11 11:19:44.000000000 -0400
+@@ -156,6 +156,7 @@
+ const char *protocol_print;
+ GtkWidget *label;
+ GtkWidget *dialog;
++ OtrgDialogWaitHandle handle;
+
+ p = gaim_find_prpl(protocol);
+ protocol_print = (p ? p->info->name : "Unknown");
+@@ -166,7 +167,7 @@
+
+ dialog = create_dialog(GAIM_NOTIFY_MSG_INFO, title, primary, secondary,
+ 0, &label);
+- OtrgDialogWaitHandle handle = malloc(sizeof(struct s_OtrgDialogWait));
++ handle = malloc(sizeof(struct s_OtrgDialogWait));
+ handle->dialog = dialog;
+ handle->label = label;
+