OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.8 KiB

  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 - 2006 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 */
  23. }
  24. }
  25. }
  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. + ;
  31. }
  32. add = 1;
  33. --- wavemon-0.4.0b/conf_scr.c.orig 2004-05-11 14:01:54.314736800 +0200
  34. +++ wavemon-0.4.0b/conf_scr.c 2004-05-11 14:02:28.469544480 +0200
  35. @@ -64,6 +64,7 @@
  36. break;
  37. case t_sep: /* gcc -Wall sucks */
  38. case t_func:
  39. + ; /* and dummy coders, too */
  40. }
  41. if (!item->unit) {
  42. @@ -137,6 +138,7 @@
  43. break;
  44. case t_sep: /* gcc -Wall sucks */
  45. case t_func:
  46. + ; /* and dummy coders, too */
  47. }
  48. }
  49. --- wavemon-0.4.0b/wavemon.c.orig 2004-05-11 14:02:49.263383336 +0200
  50. +++ wavemon-0.4.0b/wavemon.c 2004-05-11 14:03:31.590948568 +0200
  51. @@ -170,7 +170,7 @@
  52. if (conf.dump == 1) {
  53. dump_parameters(&conf);
  54. - exit();
  55. + exit(0);
  56. }
  57. /* initialize the ncurses interface */