diff options
-rw-r--r-- | comms/jpilot/distinfo | 3 | ||||
-rw-r--r-- | comms/jpilot/patches/patch-ae | 26 | ||||
-rw-r--r-- | devel/lwp/distinfo | 3 | ||||
-rw-r--r-- | devel/lwp/patches/patch-aa | 28 |
4 files changed, 58 insertions, 2 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); diff --git a/devel/lwp/distinfo b/devel/lwp/distinfo index dbcbd200b4f..6a385928807 100644 --- a/devel/lwp/distinfo +++ b/devel/lwp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2005/08/15 01:14:05 xtraeme Exp $ +$NetBSD: distinfo,v 1.11 2005/09/22 12:05:39 rillig Exp $ SHA1 (lwp-2.0.tar.gz) = 4188f5df42a9f879f67c9294ebf9bf59056a0e25 RMD160 (lwp-2.0.tar.gz) = cf42e3324ed94fe67ae817281763eb1f2f475935 Size (lwp-2.0.tar.gz) = 362141 bytes +SHA1 (patch-aa) = 02ff9a57c996c67b722987d4dde3899056341df5 diff --git a/devel/lwp/patches/patch-aa b/devel/lwp/patches/patch-aa new file mode 100644 index 00000000000..d2ac9bb983b --- /dev/null +++ b/devel/lwp/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.5 2005/09/22 12:05:39 rillig Exp $ + +ISO C90 does not allow declarations after code. + +--- src/lwp_ucontext.c.orig Thu Mar 3 19:53:51 2005 ++++ src/lwp_ucontext.c Thu Sep 22 14:02:14 2005 +@@ -109,6 +109,10 @@ void makecontext(ucontext_t *ucp, void ( + { + va_list ap; + char *stack = ucp->uc_stack.ss_sp; ++ struct sigaction action, oldaction; ++ sigset_t sigs, oldsigs; ++ stack_t oldstack; ++ + assert(stack != NULL); + + child = ucp; +@@ -132,10 +136,6 @@ void makecontext(ucontext_t *ucp, void ( + savecontext(_thread, &parent, stack); + + #else /* HAVE_SIGALTSTACK */ +- struct sigaction action, oldaction; +- sigset_t sigs, oldsigs; +- stack_t oldstack; +- + action.sa_handler = (void(*)(int))_thread; + action.sa_flags = SA_ONSTACK; + sigemptyset(&action.sa_mask); |