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.

51 lines
1.8 KiB

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