diff options
author | nathanw <nathanw@pkgsrc.org> | 2005-04-11 20:13:47 +0000 |
---|---|---|
committer | nathanw <nathanw@pkgsrc.org> | 2005-04-11 20:13:47 +0000 |
commit | b6e09492b1992eb97abfef9c0c7015e76dd7ff11 (patch) | |
tree | 2b0912d2832a2469c7fb43e85f38e44a58fe3dc1 /chat/gaim-otr | |
parent | 4a9901a6d513287be079d3671d5bf8c979691b5a (diff) | |
download | pkgsrc-b6e09492b1992eb97abfef9c0c7015e76dd7ff11.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-ab | 21 |
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; + |