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.

68 lines
3.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/gnome14/glib12/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 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. The usual gcc-3.4 fixes.
  20. - Rene Rebe <rene@exactcode.de>
  21. diff -ur glib-1.2.10-orig/gstrfuncs.c glib-1.2.10/gstrfuncs.c
  22. --- glib-1.2.10-orig/gstrfuncs.c 2001-02-27 07:00:22.000000000 +0100
  23. +++ glib-1.2.10/gstrfuncs.c 2004-05-04 16:05:28.000000000 +0200
  24. @@ -867,8 +867,7 @@
  25. /* beware of positional parameters
  26. */
  27. case '$':
  28. - g_warning (G_GNUC_PRETTY_FUNCTION
  29. - "(): unable to handle positional parameters (%%n$)");
  30. + g_warning ("%s(): unable to handle positional parameters (%%n$), G_GNUC_PRETTY_FUNCTION");
  31. len += 1024; /* try adding some safety padding */
  32. break;
  33. @@ -1034,8 +1033,7 @@
  34. /* n . dddddddddddddddddddddddd E +- eeee */
  35. conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
  36. if (spec.mod_extra_long)
  37. - g_warning (G_GNUC_PRETTY_FUNCTION
  38. - "(): unable to handle long double, collecting double only");
  39. + g_warning ("%s(): unable to handle long double, collecting double only", G_GNUC_PRETTY_FUNCTION);
  40. #ifdef HAVE_LONG_DOUBLE
  41. #error need to implement special handling for long double
  42. #endif
  43. @@ -1077,8 +1075,7 @@
  44. conv_done = TRUE;
  45. if (spec.mod_long)
  46. {
  47. - g_warning (G_GNUC_PRETTY_FUNCTION
  48. - "(): unable to handle wide char strings");
  49. + g_warning ("%s(): unable to handle wide char strings", G_GNUC_PRETTY_FUNCTION);
  50. len += 1024; /* try adding some safety padding */
  51. }
  52. break;
  53. @@ -1108,8 +1105,8 @@
  54. conv_len += format - spec_start;
  55. break;
  56. default:
  57. - g_warning (G_GNUC_PRETTY_FUNCTION
  58. - "(): unable to handle `%c' while parsing format",
  59. + g_warning ("%s(): unable to handle `%c' while parsing format",
  60. + G_GNUC_PRETTY_FUNCTION,
  61. c);
  62. break;
  63. }