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.

73 lines
2.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libmusicbrainz/gcc43.patch
  5. # Copyright (C) 2010 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN libmusicbrainz-2.1.5-orig/lib/c_wrapper.cpp libmusicbrainz-2.1.5/lib/c_wrapper.cpp
  17. --- libmusicbrainz-2.1.5-orig/lib/c_wrapper.cpp 2006-11-14 17:34:49.000000000 +0100
  18. +++ libmusicbrainz-2.1.5/lib/c_wrapper.cpp 2010-08-03 12:31:50.284171857 +0200
  19. @@ -24,6 +24,7 @@
  20. #include "musicbrainz.h"
  21. #include "trm.h"
  22. #include "mb_c.h"
  23. +#include <cstring>
  24. extern "C"
  25. {
  26. diff -ruN libmusicbrainz-2.1.5-orig/lib/comhttpsocket.cpp libmusicbrainz-2.1.5/lib/comhttpsocket.cpp
  27. --- libmusicbrainz-2.1.5-orig/lib/comhttpsocket.cpp 2006-11-14 17:34:49.000000000 +0100
  28. +++ libmusicbrainz-2.1.5/lib/comhttpsocket.cpp 2010-08-03 12:31:50.284171857 +0200
  29. @@ -20,6 +20,7 @@
  30. #endif
  31. #include <stdlib.h>
  32. #include <assert.h>
  33. +#include <cstring>
  34. const char* g_strCOMVer = "libmusicbrainz/"VERSION;
  35. diff -ruN libmusicbrainz-2.1.5-orig/lib/comsocket.cpp libmusicbrainz-2.1.5/lib/comsocket.cpp
  36. --- libmusicbrainz-2.1.5-orig/lib/comsocket.cpp 2006-11-14 17:34:49.000000000 +0100
  37. +++ libmusicbrainz-2.1.5/lib/comsocket.cpp 2010-08-03 12:31:50.284171857 +0200
  38. @@ -37,6 +37,7 @@
  39. #include <netinet/tcp.h>
  40. #include <errno.h>
  41. #include <stdio.h>
  42. +#include <cstring>
  43. #include <sys/time.h>
  44. #include <sys/types.h>
  45. #include <unistd.h>
  46. diff -ruN libmusicbrainz-2.1.5-orig/lib/http.cpp libmusicbrainz-2.1.5/lib/http.cpp
  47. --- libmusicbrainz-2.1.5-orig/lib/http.cpp 2007-05-11 08:21:21.000000000 +0200
  48. +++ libmusicbrainz-2.1.5/lib/http.cpp 2010-08-03 12:31:50.284171857 +0200
  49. @@ -32,6 +32,8 @@
  50. #endif
  51. #include <fcntl.h>
  52. #include <errno.h>
  53. +#include <cstring>
  54. +#include <cstdlib>
  55. #ifdef WIN32
  56. #include <winsock.h>
  57. diff -ruN libmusicbrainz-2.1.5-orig/lib/sigclient.cpp libmusicbrainz-2.1.5/lib/sigclient.cpp
  58. --- libmusicbrainz-2.1.5-orig/lib/sigclient.cpp 2006-11-14 17:34:49.000000000 +0100
  59. +++ libmusicbrainz-2.1.5/lib/sigclient.cpp 2010-08-03 12:31:50.288172077 +0200
  60. @@ -33,6 +33,8 @@
  61. #pragma warning(disable:4786)
  62. #endif
  63. +#include <cstring>
  64. +
  65. #include "sigclient.h"
  66. #include "comhttpsocket.h"