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.

54 lines
1.9 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/mnemoc/uclibc/patches/bison-30-warn_redefined.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. warn symbol is part of libc.o, then i have to look for a
  20. different name
  21. Alejandro
  22. --- ./src/complain.c.orig 2004-02-11 19:14:26.000000000 -0300
  23. +++ ./src/complain.c 2004-02-11 19:16:19.000000000 -0300
  24. @@ -87,7 +87,7 @@
  25. }
  26. void
  27. -warn (const char *message, ...)
  28. +warn_this (const char *message, ...)
  29. {
  30. va_list args;
  31. --- ./src/complain.h.orig 2004-02-11 19:14:33.000000000 -0300
  32. +++ ./src/complain.h 2004-02-11 19:16:32.000000000 -0300
  33. @@ -27,7 +27,7 @@
  34. /* Informative messages, but we proceed. */
  35. -void warn (char const *format, ...)
  36. +void warn_this (char const *format, ...)
  37. __attribute__ ((__format__ (__printf__, 1, 2)));
  38. void warn_at (location loc, char const *format, ...)
  39. --- ./src/files.c.orig 2004-02-11 19:14:43.000000000 -0300
  40. +++ ./src/files.c 2004-02-11 19:16:41.000000000 -0300
  41. @@ -333,5 +333,5 @@
  42. for (j = 0; j < names; j++)
  43. for (i = 0; i < j; i++)
  44. if (strcmp (name[i], name[j]) == 0)
  45. - warn (_("conflicting outputs to file %s"), quote (name[i]));
  46. + warn_this (_("conflicting outputs to file %s"), quote (name[i]));
  47. }