libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / network / udpxy / patches / 02-gcc8.patch
blob0834517fbf6d1059b3638367859712034ad63a93
1 --- udpxy-1.0.23-10/udpxrec.c.orig 2018-05-25 07:50:38.063817252 +0000
2 +++ udpxy-1.0.23-10/udpxrec.c 2018-05-25 07:51:08.606689705 +0000
3 @@ -558,10 +558,10 @@
4 else {
5 if( g_recopt.bg_time < now ) {
6 (void)strncpy( now_buf, Zasctime(localtime( &now )),
7 - sizeof(now_buf) );
8 + sizeof(now_buf)-1 );
9 (void)strncpy( sel_buf,
10 Zasctime(localtime( &g_recopt.bg_time )),
11 - sizeof(sel_buf) );
12 + sizeof(sel_buf)-1 );
14 (void) fprintf( stderr,
15 "Selected %s time is in the past, "
16 @@ -588,10 +588,10 @@
17 else {
18 if( g_recopt.end_time < now ) {
19 (void)strncpy( now_buf, Zasctime(localtime( &now )),
20 - sizeof(now_buf) );
21 + sizeof(now_buf)-1 );
22 (void)strncpy( sel_buf,
23 Zasctime(localtime( &g_recopt.end_time )),
24 - sizeof(sel_buf) );
25 + sizeof(sel_buf)-1 );
27 (void) fprintf( stderr,
28 "Selected %s time is in the past, "