From 472a74fe58de264d9bf0f7c766a560f2eaf2a772 Mon Sep 17 00:00:00 2001 From: nathanw Date: Mon, 11 Apr 2005 20:13:47 +0000 Subject: Unmix code and declarations, to placate c89 compilers. (Patch submitted upstream) --- chat/gaim-otr/patches/patch-ab | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 chat/gaim-otr/patches/patch-ab (limited to 'chat') 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; + -- cgit v1.2.3