summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornathanw <nathanw>2005-04-11 20:13:47 +0000
committernathanw <nathanw>2005-04-11 20:13:47 +0000
commit472a74fe58de264d9bf0f7c766a560f2eaf2a772 (patch)
tree2b0912d2832a2469c7fb43e85f38e44a58fe3dc1 /chat
parent31a8761a37401bbab4d7e680153cd2a6faf107a2 (diff)
downloadpkgsrc-472a74fe58de264d9bf0f7c766a560f2eaf2a772.tar.gz
Unmix code and declarations, to placate c89 compilers.
(Patch submitted upstream)
Diffstat (limited to 'chat')
-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;
+