diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/jpilot/distinfo | 3 | ||||
-rw-r--r-- | comms/jpilot/patches/patch-ae | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/comms/jpilot/distinfo b/comms/jpilot/distinfo index 0021838b598..0e61d730876 100644 --- a/comms/jpilot/distinfo +++ b/comms/jpilot/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.16 2005/09/05 07:51:58 rh Exp $ +$NetBSD: distinfo,v 1.17 2005/09/22 12:07:29 rillig Exp $ SHA1 (jpilot-0.99.7.tar.gz) = 4ecdc3c00fa4b7d475d156f1cef6840c5e8aa4dc RMD160 (jpilot-0.99.7.tar.gz) = 04516b0be321addaf636205372483178dff5c839 Size (jpilot-0.99.7.tar.gz) = 1197119 bytes SHA1 (patch-ab) = 00252b62491d894572a59645dcdfdf8edd3d0b21 SHA1 (patch-ad) = cac013141685ff632cafc7a45841d4c9b77a957f +SHA1 (patch-ae) = 62ae557a7f9c3692bfec8f6efcdc664db776d4c9 diff --git a/comms/jpilot/patches/patch-ae b/comms/jpilot/patches/patch-ae new file mode 100644 index 00000000000..2aec63947a0 --- /dev/null +++ b/comms/jpilot/patches/patch-ae @@ -0,0 +1,26 @@ +$NetBSD: patch-ae,v 1.5 2005/09/22 12:07:29 rillig Exp $ + +ISO C90 does not allow declarations after code. + +--- address_gui.c.orig Sun Feb 22 20:34:23 2004 ++++ address_gui.c Thu Sep 22 13:59:00 2005 +@@ -1426,14 +1426,16 @@ void cb_dialer(GtkWidget *widget, gpoint + char *Px; + char number[100]; + char ext[100]; +- +- number[0]=ext[0]='\0'; +- text=data; + #ifdef ENABLE_GTK2 + GtkTextIter start_iter; + GtkTextIter end_iter; + GtkTextBuffer *text_buffer; ++#endif + ++ number[0]=ext[0]='\0'; ++ text=data; ++ ++#ifdef ENABLE_GTK2 + text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)); + gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(text),&start_iter,&end_iter); + str = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(text),&start_iter,&end_iter,TRUE); |