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.

99 lines
3.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../id3lib/id3lib-3.8.3-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 id3lib-3.8.3-orig/configure id3lib-3.8.3/configure
  17. --- id3lib-3.8.3-orig/configure 2003-03-02 01:23:00.000000000 +0100
  18. +++ id3lib-3.8.3/configure 2010-07-23 13:59:11.716756262 +0200
  19. @@ -10296,7 +10296,7 @@
  20. for ac_header in \
  21. string \
  22. - iomanip.h \
  23. + iomanip \
  24. do
  25. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  26. diff -ruN id3lib-3.8.3-orig/examples/demo_convert.cpp id3lib-3.8.3/examples/demo_convert.cpp
  27. --- id3lib-3.8.3-orig/examples/demo_convert.cpp 2003-03-02 01:23:00.000000000 +0100
  28. +++ id3lib-3.8.3/examples/demo_convert.cpp 2010-07-23 13:59:11.716756262 +0200
  29. @@ -84,7 +84,7 @@
  30. }
  31. }
  32. -int main( unsigned int argc, char * const argv[])
  33. +int main( int argc, char * const argv[])
  34. {
  35. flags_t ulFlag = ID3TT_ALL;
  36. gengetopt_args_info args;
  37. diff -ruN id3lib-3.8.3-orig/examples/demo_copy.cpp id3lib-3.8.3/examples/demo_copy.cpp
  38. --- id3lib-3.8.3-orig/examples/demo_copy.cpp 2003-03-02 01:23:00.000000000 +0100
  39. +++ id3lib-3.8.3/examples/demo_copy.cpp 2010-07-23 13:59:11.716756262 +0200
  40. @@ -81,7 +81,7 @@
  41. }
  42. }
  43. -int main( unsigned int argc, char * const argv[])
  44. +int main( int argc, char * const argv[])
  45. {
  46. int ulFlag = ID3TT_ID3;
  47. ID3D_INIT_DOUT();
  48. diff -ruN id3lib-3.8.3-orig/examples/demo_info.cpp id3lib-3.8.3/examples/demo_info.cpp
  49. --- id3lib-3.8.3-orig/examples/demo_info.cpp 2003-03-02 01:23:00.000000000 +0100
  50. +++ id3lib-3.8.3/examples/demo_info.cpp 2010-07-23 13:59:11.716756262 +0200
  51. @@ -309,7 +309,7 @@
  52. #define DEBUG
  53. -int main( unsigned int argc, char * const argv[])
  54. +int main( int argc, char * const argv[])
  55. {
  56. ID3D_INIT_DOUT();
  57. diff -ruN id3lib-3.8.3-orig/examples/demo_tag.cpp id3lib-3.8.3/examples/demo_tag.cpp
  58. --- id3lib-3.8.3-orig/examples/demo_tag.cpp 2003-03-02 01:23:00.000000000 +0100
  59. +++ id3lib-3.8.3/examples/demo_tag.cpp 2010-07-23 13:59:11.716756262 +0200
  60. @@ -46,7 +46,7 @@
  61. os << "v2";
  62. }
  63. -int main( unsigned int argc, char * const argv[])
  64. +int main( int argc, char * const argv[])
  65. {
  66. int ulFlag = ID3TT_ID3;
  67. ID3D_INIT_DOUT();
  68. diff -ruN id3lib-3.8.3-orig/include/id3/id3lib_strings.h id3lib-3.8.3/include/id3/id3lib_strings.h
  69. --- id3lib-3.8.3-orig/include/id3/id3lib_strings.h 2003-03-02 01:23:00.000000000 +0100
  70. +++ id3lib-3.8.3/include/id3/id3lib_strings.h 2010-07-23 13:59:11.716756262 +0200
  71. @@ -30,6 +30,7 @@
  72. #define _ID3LIB_STRINGS_H_
  73. #include <string>
  74. +#include <cstring>
  75. #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
  76. namespace std
  77. diff -ruN id3lib-3.8.3-orig/include/id3/writers.h id3lib-3.8.3/include/id3/writers.h
  78. --- id3lib-3.8.3-orig/include/id3/writers.h 2003-03-02 01:23:00.000000000 +0100
  79. +++ id3lib-3.8.3/include/id3/writers.h 2010-07-23 13:59:11.716756262 +0200
  80. @@ -30,7 +30,7 @@
  81. #include "id3/writer.h"
  82. #include "id3/id3lib_streams.h"
  83. -//#include <string.h>
  84. +#include <cstring>
  85. class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
  86. {