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.

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

mercurial