pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/gaim-otr/patches Unmix code and declarations, to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f65858164e11
branches:  trunk
changeset: 492401:f65858164e11
user:      nathanw <nathanw%pkgsrc.org@localhost>
date:      Mon Apr 11 20:13:47 2005 +0000

description:
Unmix code and declarations, to placate c89 compilers.
(Patch submitted upstream)

diffstat:

 chat/gaim-otr/patches/patch-ab |  21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r 44043f8f298e -r f65858164e11 chat/gaim-otr/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/gaim-otr/patches/patch-ab    Mon Apr 11 20:13:47 2005 +0000
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index