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.

63 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../wavemon/gcc34.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- wavemon-0.4.0b/conf.c.orig 2004-05-11 14:00:22.433704840 +0200
  18. +++ wavemon-0.4.0b/conf.c 2004-05-11 14:01:33.102961480 +0200
  19. @@ -411,6 +411,7 @@
  20. break;
  21. case t_sep: /* gcc -Wall sucks */
  22. case t_func:
  23. + ; /* and dummy coders, too */
  24. }
  25. }
  26. }
  27. @@ -482,6 +483,7 @@
  28. case t_listval: sprintf(rv, "%s", (char *)ci->v);
  29. case t_sep: break;
  30. case t_func:
  31. + ;
  32. }
  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 */
  41. }
  42. if (!item->unit) {
  43. @@ -137,6 +138,7 @@
  44. break;
  45. case t_sep: /* gcc -Wall sucks */
  46. case t_func:
  47. + ; /* and dummy coders, too */
  48. }
  49. }
  50. --- wavemon-0.4.0b/wavemon.c.orig 2004-05-11 14:02:49.263383336 +0200
  51. +++ wavemon-0.4.0b/wavemon.c 2004-05-11 14:03:31.590948568 +0200
  52. @@ -170,7 +170,7 @@
  53. if (conf.dump == 1) {
  54. dump_parameters(&conf);
  55. - exit();
  56. + exit(0);
  57. }
  58. /* initialize the ncurses interface */