id3lib/id3lib.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

michael@627 1 Index: include/id3/id3lib_strings.h
michael@627 2 --- include/id3/id3lib_strings.h.orig 2012-08-29 11:12:19.139220051 +0200
michael@627 3 +++ include/id3/id3lib_strings.h 2012-08-29 11:10:08.246368381 +0200
michael@627 4 @@ -30,6 +30,7 @@
michael@627 5 #define _ID3LIB_STRINGS_H_
michael@627 6
michael@627 7 #include <string>
michael@627 8 +#include <cstring>
michael@627 9
michael@627 10 #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
michael@627 11 namespace std
michael@627 12 Index: include/id3/writers.h
michael@627 13 --- include/id3/writers.h.orig 2012-08-29 11:11:54.826330076 +0200
michael@627 14 +++ include/id3/writers.h 2012-08-29 11:12:07.554666839 +0200
michael@627 15 @@ -31,6 +31,7 @@
michael@627 16 #include "id3/writer.h"
michael@627 17 #include "id3/id3lib_streams.h"
michael@627 18 //#include <string.h>
michael@627 19 +#include <cstring>
michael@627 20
michael@627 21 class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
michael@627 22 {

mercurial