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.

107 lines
3.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../soup/gcc34.patch
  5. # Copyright (C) 2008 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. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c soup-0.7.11/src/libwsdl/wsdl-soap-memory.c
  18. --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-memory.c 2001-08-27 03:38:53.000000000 +0200
  19. +++ soup-0.7.11/src/libwsdl/wsdl-soap-memory.c 2004-10-06 07:09:32.004502496 +0200
  20. @@ -33,14 +33,12 @@
  21. while (param->name != NULL) {
  22. if (param->typecode == NULL) {
  23. - g_warning (G_GNUC_FUNCTION
  24. - ": Parameter %s has no typecode!",
  25. + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
  26. param->name);
  27. } else {
  28. if (param->param == NULL) {
  29. - g_warning (G_GNUC_FUNCTION
  30. - ": Parameter %s has no "
  31. - "memory location!",
  32. + g_warning ("%s: Parameter %s has no "
  33. + "memory location!", G_GNUC_PRETTY_FUNCTION,
  34. param->name);
  35. } else {
  36. memset (param->param,
  37. @@ -71,8 +69,7 @@
  38. while (param->name != NULL) {
  39. if (param->typecode == NULL) {
  40. - g_warning (G_GNUC_FUNCTION
  41. - ": Parameter %s has no typecode!",
  42. + g_warning ("%s: Parameter %s has no typecode!", G_GNUC_PRETTY_FUNCTION,
  43. param->name);
  44. } else {
  45. if (param->param != NULL &&
  46. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c soup-0.7.11/src/libwsdl/wsdl-soap-parse.c
  47. --- soup-0.7.11-orig/src/libwsdl/wsdl-soap-parse.c 2002-05-03 22:14:27.000000000 +0200
  48. +++ soup-0.7.11/src/libwsdl/wsdl-soap-parse.c 2004-10-06 06:03:33.617268824 +0200
  49. @@ -37,7 +37,7 @@
  50. switch (wsdl_typecode_kind (typecode)) {
  51. case WSDL_TK_GLIB_NULL:
  52. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  53. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  54. break;
  55. case WSDL_TK_GLIB_VOID:
  56. @@ -203,7 +203,7 @@
  57. /* Handled elsewhere */
  58. break;
  59. case WSDL_TK_GLIB_MAX:
  60. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  61. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  62. break;
  63. }
  64. }
  65. diff -ur soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c soup-0.7.11/src/libwsdl/wsdl-typecodes.c
  66. --- soup-0.7.11-orig/src/libwsdl/wsdl-typecodes.c 2002-04-05 22:46:30.000000000 +0200
  67. +++ soup-0.7.11/src/libwsdl/wsdl-typecodes.c 2004-10-06 06:03:33.598271712 +0200
  68. @@ -977,7 +977,7 @@
  69. {
  70. switch (tc->kind) {
  71. case WSDL_TK_GLIB_NULL:
  72. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  73. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  74. return (0);
  75. break;
  76. @@ -1082,7 +1082,7 @@
  77. break;
  78. case WSDL_TK_GLIB_MAX:
  79. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  80. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  81. return (0);
  82. break;
  83. }
  84. @@ -1106,7 +1106,7 @@
  85. {
  86. switch (tc->kind) {
  87. case WSDL_TK_GLIB_NULL:
  88. - g_warning ("Invalid typecode NULL in " G_GNUC_FUNCTION);
  89. + g_warning ("Invalid typecode NULL in %s", G_GNUC_PRETTY_FUNCTION);
  90. return (0);
  91. break;
  92. @@ -1218,7 +1218,7 @@
  93. break;
  94. case WSDL_TK_GLIB_MAX:
  95. - g_warning ("Invalid typecode MAX in " G_GNUC_FUNCTION);
  96. + g_warning ("Invalid typecode MAX in %s", G_GNUC_PRETTY_FUNCTION);
  97. return (0);
  98. break;
  99. }