mirror of the now-defunct rocklinux.org
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.

66 lines
2.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/esden/wavemon/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- wavemon-0.4.0b/conf.c.orig 2004-05-11 14:00:22.433704840 +0200
  20. +++ wavemon-0.4.0b/conf.c 2004-05-11 14:01:33.102961480 +0200
  21. @@ -411,6 +411,7 @@
  22. break;
  23. case t_sep: /* gcc -Wall sucks */
  24. case t_func:
  25. + ; /* and dummy coders, too */
  26. }
  27. }
  28. }
  29. @@ -482,6 +483,7 @@
  30. case t_listval: sprintf(rv, "%s", (char *)ci->v);
  31. case t_sep: break;
  32. case t_func:
  33. + ;
  34. }
  35. add = 1;
  36. --- wavemon-0.4.0b/conf_scr.c.orig 2004-05-11 14:01:54.314736800 +0200
  37. +++ wavemon-0.4.0b/conf_scr.c 2004-05-11 14:02:28.469544480 +0200
  38. @@ -64,6 +64,7 @@
  39. break;
  40. case t_sep: /* gcc -Wall sucks */
  41. case t_func:
  42. + ; /* and dummy coders, too */
  43. }
  44. if (!item->unit) {
  45. @@ -137,6 +138,7 @@
  46. break;
  47. case t_sep: /* gcc -Wall sucks */
  48. case t_func:
  49. + ; /* and dummy coders, too */
  50. }
  51. }
  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 @@
  55. if (conf.dump == 1) {
  56. dump_parameters(&conf);
  57. - exit();
  58. + exit(0);
  59. }
  60. /* initialize the ncurses interface */