SOURCES: id3lib-gcc43.patch (NEW) - fix building of id3lib and programs usi...

megabajt megabajt at pld-linux.org
Sat Jul 5 19:03:08 CEST 2008


Author: megabajt                     Date: Sat Jul  5 17:03:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix building of id3lib and programs using it with gcc43

---- Files affected:
SOURCES:
   id3lib-gcc43.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/id3lib-gcc43.patch
diff -u /dev/null SOURCES/id3lib-gcc43.patch:1.1
--- /dev/null	Sat Jul  5 19:03:09 2008
+++ SOURCES/id3lib-gcc43.patch	Sat Jul  5 19:03:03 2008
@@ -0,0 +1,81 @@
+diff -urN id3lib-3.8.3/configure.in id3lib-3.8.3.new/configure.in
+--- id3lib-3.8.3/configure.in	2008-07-05 17:24:31.000000000 +0200
++++ id3lib-3.8.3.new/configure.in	2008-07-05 17:32:25.000000000 +0200
+@@ -227,7 +227,6 @@
+ )
+ AC_CHECK_HEADERS(               \
+   string                        \
+-  iomanip.h                     \
+   ,,AC_MSG_ERROR([Missing a vital header file for id3lib])
+ )
+ 
+diff -urN id3lib-3.8.3/examples/demo_convert.cpp id3lib-3.8.3.new/examples/demo_convert.cpp
+--- id3lib-3.8.3/examples/demo_convert.cpp	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/examples/demo_convert.cpp	2008-07-05 17:40:08.000000000 +0200
+@@ -84,7 +84,7 @@
+   }
+ }
+ 
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+   flags_t ulFlag = ID3TT_ALL;
+   gengetopt_args_info args;
+diff -urN id3lib-3.8.3/examples/demo_copy.cpp id3lib-3.8.3.new/examples/demo_copy.cpp
+--- id3lib-3.8.3/examples/demo_copy.cpp	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/examples/demo_copy.cpp	2008-07-05 17:40:24.000000000 +0200
+@@ -81,7 +81,7 @@
+   }
+ }
+ 
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+   int ulFlag = ID3TT_ID3;
+   ID3D_INIT_DOUT();
+diff -urN id3lib-3.8.3/examples/demo_info.cpp id3lib-3.8.3.new/examples/demo_info.cpp
+--- id3lib-3.8.3/examples/demo_info.cpp	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/examples/demo_info.cpp	2008-07-05 17:39:56.000000000 +0200
+@@ -309,7 +309,7 @@
+ 
+ #define DEBUG
+ 
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+   ID3D_INIT_DOUT();
+ 
+diff -urN id3lib-3.8.3/examples/demo_tag.cpp id3lib-3.8.3.new/examples/demo_tag.cpp
+--- id3lib-3.8.3/examples/demo_tag.cpp	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/examples/demo_tag.cpp	2008-07-05 17:40:36.000000000 +0200
+@@ -46,7 +46,7 @@
+     os << "v2";
+ }
+ 
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+   int ulFlag = ID3TT_ID3;
+   ID3D_INIT_DOUT();
+diff -urN id3lib-3.8.3/include/id3/id3lib_strings.h id3lib-3.8.3.new/include/id3/id3lib_strings.h
+--- id3lib-3.8.3/include/id3/id3lib_strings.h	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/include/id3/id3lib_strings.h	2008-07-05 17:33:10.000000000 +0200
+@@ -29,6 +29,7 @@
+ #ifndef _ID3LIB_STRINGS_H_
+ #define _ID3LIB_STRINGS_H_
+ 
++#include <cstring>
+ #include <string>
+ 
+ #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
+diff -urN id3lib-3.8.3/include/id3/writers.h id3lib-3.8.3.new/include/id3/writers.h
+--- id3lib-3.8.3/include/id3/writers.h	2003-03-02 01:23:00.000000000 +0100
++++ id3lib-3.8.3.new/include/id3/writers.h	2008-07-05 17:33:32.000000000 +0200
+@@ -28,6 +28,7 @@
+ #ifndef _ID3LIB_WRITERS_H_
+ #define _ID3LIB_WRITERS_H_
+ 
++#include <cstring>
+ #include "id3/writer.h"
+ #include "id3/id3lib_streams.h"
+ //#include <string.h>
================================================================


More information about the pld-cvs-commit mailing list