* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / wavemon / hotfix-gcc34.patch
blob7aa01c27ee0011116c004db6cd6e899387b2050d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../wavemon/gcc34.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- wavemon-0.4.0b/conf.c.orig 2004-05-11 14:00:22.433704840 +0200
17 +++ wavemon-0.4.0b/conf.c 2004-05-11 14:01:33.102961480 +0200
18 @@ -411,6 +411,7 @@
19 break;
20 case t_sep: /* gcc -Wall sucks */
21 case t_func:
22 + ; /* and dummy coders, too */
26 @@ -482,6 +483,7 @@
27 case t_listval: sprintf(rv, "%s", (char *)ci->v);
28 case t_sep: break;
29 case t_func:
30 + ;
33 add = 1;
34 --- wavemon-0.4.0b/conf_scr.c.orig 2004-05-11 14:01:54.314736800 +0200
35 +++ wavemon-0.4.0b/conf_scr.c 2004-05-11 14:02:28.469544480 +0200
36 @@ -64,6 +64,7 @@
37 break;
38 case t_sep: /* gcc -Wall sucks */
39 case t_func:
40 + ; /* and dummy coders, too */
43 if (!item->unit) {
44 @@ -137,6 +138,7 @@
45 break;
46 case t_sep: /* gcc -Wall sucks */
47 case t_func:
48 + ; /* and dummy coders, too */
52 --- wavemon-0.4.0b/wavemon.c.orig 2004-05-11 14:02:49.263383336 +0200
53 +++ wavemon-0.4.0b/wavemon.c 2004-05-11 14:03:31.590948568 +0200
54 @@ -170,7 +170,7 @@
56 if (conf.dump == 1) {
57 dump_parameters(&conf);
58 - exit();
59 + exit(0);
62 /* initialize the ncurses interface */