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.

106 lines
3.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../soup/gcc34.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c soup-0.7.11/src/libwsdl/wsdl-soap-memory.c
  17. --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c 2001-08-27 03:38:53.000000000 +0200
  18. +++ soup-0.7.11/src/libwsdl/wsdl-soap-memory.c 2004-10-06 07:09:32.004502496 +0200
  19. @@ -33,14 +33,12 @@
  20. while (param->name != NULL) {
  21. if (param->typecode == NULL) {
  22. - g_warning (G_GNUC_FUNCTION
  23. - ": Parameter %s has no typecode!",
  24. + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
  25. param->name);
  26. } else {
  27. if (param->param == NULL) {
  28. - g_warning (G_GNUC_FUNCTION
  29. - ": Parameter %s has no "
  30. - "memory location!",
  31. + g_warning ("%s: Parameter %s has no "
  32. + "memory location!", G_GNUC_PRETTY_FUNCTION,
  33. param->name);
  34. } else {
  35. memset (param->param,
  36. @@ -71,8 +69,7 @@
  37. while (param->name != NULL) {
  38. if (param->typecode == NULL) {
  39. - g_warning (G_GNUC_FUNCTION
  40. - ": Parameter %s has no typecode!",
  41. + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
  42. param->name);
  43. } else {
  44. if (param->param != NULL &&
  45. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c soup-0.7.11/src/libwsdl/wsdl-soap-parse.c
  46. --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c 2002-05-03 22:14:27.000000000 +0200
  47. +++ soup-0.7.11/src/libwsdl/wsdl-soap-parse.c 2004-10-06 06:03:33.617268824 +0200
  48. @@ -37,7 +37,7 @@
  49. switch (wsdl_typecode_kind (typecode)) {
  50. case WSDL_TK_GLIB_NULL:
  51. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  52. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  53. break;
  54. case WSDL_TK_GLIB_VOID:
  55. @@ -203,7 +203,7 @@
  56. /* Handled elsewhere */
  57. break;
  58. case WSDL_TK_GLIB_MAX:
  59. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  60. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  61. break;
  62. }
  63. }
  64. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c soup-0.7.11/src/libwsdl/wsdl-typecodes.c
  65. --- soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c 2002-04-05 22:46:30.000000000 +0200
  66. +++ soup-0.7.11/src/libwsdl/wsdl-typecodes.c 2004-10-06 06:03:33.598271712 +0200
  67. @@ -977,7 +977,7 @@
  68. {
  69. switch (tc->kind) {
  70. case WSDL_TK_GLIB_NULL:
  71. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  72. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  73. return (0);
  74. break;
  75. @@ -1082,7 +1082,7 @@
  76. break;
  77. case WSDL_TK_GLIB_MAX:
  78. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  79. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  80. return (0);
  81. break;
  82. }
  83. @@ -1106,7 +1106,7 @@
  84. {
  85. switch (tc->kind) {
  86. case WSDL_TK_GLIB_NULL:
  87. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  88. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  89. return (0);
  90. break;
  91. @@ -1218,7 +1218,7 @@
  92. break;
  93. case WSDL_TK_GLIB_MAX:
  94. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  95. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  96. return (0);
  97. break;
  98. }