wok diff id3lib/stuff/id3lib-3.8.3-gcc-4.4.patch @ rev 25041

Up fatattr (1.0.1), puzzles (20220128)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 27 17:15:46 2022 +0000 (2022-05-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/id3lib/stuff/id3lib-3.8.3-gcc-4.4.patch	Fri May 27 17:15:46 2022 +0000
     1.3 @@ -0,0 +1,76 @@
     1.4 +--- id3lib-3.8.3/configure      2008-05-24 23:39:36.000000000 -0400
     1.5 ++++ id3lib-3.8.3/configure   2008-05-24 23:39:57.000000000 -0400
     1.6 +@@ -10296,8 +10296,7 @@
     1.7 + 
     1.8 + for ac_header in \
     1.9 +   string                        \
    1.10 +-  iomanip.h                     \
    1.11 + 
    1.12 + do
    1.13 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    1.14 + 
    1.15 +--- id3lib-3.8.3/include/id3/id3lib_strings.h	2008-03-05 18:19:46.000000000 -0600
    1.16 ++++ id3lib-3.8.3/include/id3/id3lib_strings.h	2008-03-05 18:19:38.000000000 -0600
    1.17 +@@ -30,6 +30,7 @@
    1.18 + #define _ID3LIB_STRINGS_H_
    1.19 + 
    1.20 + #include <string>
    1.21 ++#include <cstring>
    1.22 + 
    1.23 + #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
    1.24 + namespace std
    1.25 +--- id3lib-3.8.3/include/id3/writers.h	2003-03-01 18:23:00.000000000 -0600
    1.26 ++++ id3lib-3.8.3/include/id3/writers.h	2008-03-05 18:23:05.000000000 -0600
    1.27 +@@ -30,7 +30,7 @@
    1.28 + 
    1.29 + #include "id3/writer.h"
    1.30 + #include "id3/id3lib_streams.h"
    1.31 +-//#include <string.h>
    1.32 ++#include <string.h>
    1.33 + 
    1.34 + class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
    1.35 + {
    1.36 +--- id3lib-3.8.3/examples/demo_convert.cpp	2003-03-01 18:23:00.000000000 -0600
    1.37 ++++ id3lib-3.8.3/examples/demo_convert.cpp	2008-03-05 18:26:50.000000000 -0600
    1.38 +@@ -84,7 +84,7 @@
    1.39 +   }
    1.40 + }
    1.41 + 
    1.42 +-int main( unsigned int argc, char * const argv[])
    1.43 ++int main( int argc, char * const argv[])
    1.44 + {
    1.45 +   flags_t ulFlag = ID3TT_ALL;
    1.46 +   gengetopt_args_info args;
    1.47 +--- id3lib-3.8.3/examples/demo_info.cpp	2003-03-01 18:23:00.000000000 -0600
    1.48 ++++ id3lib-3.8.3/examples/demo_info.cpp	2008-03-05 18:27:40.000000000 -0600
    1.49 +@@ -309,7 +309,7 @@
    1.50 + 
    1.51 + #define DEBUG
    1.52 + 
    1.53 +-int main( unsigned int argc, char * const argv[])
    1.54 ++int main( int argc, char * const argv[])
    1.55 + {
    1.56 +   ID3D_INIT_DOUT();
    1.57 + 
    1.58 +--- id3lib-3.8.3/examples/demo_tag.cpp	2003-03-01 18:23:00.000000000 -0600
    1.59 ++++ id3lib-3.8.3/examples/demo_tag.cpp	2008-03-05 18:31:20.000000000 -0600
    1.60 +@@ -46,7 +46,7 @@
    1.61 +     os << "v2";
    1.62 + }
    1.63 + 
    1.64 +-int main( unsigned int argc, char * const argv[])
    1.65 ++int main( int argc, char * const argv[])
    1.66 + {
    1.67 +   int ulFlag = ID3TT_ID3;
    1.68 +   ID3D_INIT_DOUT();
    1.69 +--- id3lib-3.8.3/examples/demo_copy.cpp	2003-03-01 18:23:00.000000000 -0600
    1.70 ++++ id3lib-3.8.3/examples/demo_copy.cpp	2008-03-05 18:32:44.000000000 -0600
    1.71 +@@ -81,7 +81,7 @@
    1.72 +   }
    1.73 + }
    1.74 + 
    1.75 +-int main( unsigned int argc, char * const argv[])
    1.76 ++int main( int argc, char * const argv[])
    1.77 + {
    1.78 +   int ulFlag = ID3TT_ID3;
    1.79 +   ID3D_INIT_DOUT();