wok-next diff id3lib/stuff/patches/10-fix-compilation-with-cpp-headers.patch @ rev 20646

grub2-efi: ls module embedded
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 02 11:12:13 2018 +0200 (2018-05-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/id3lib/stuff/patches/10-fix-compilation-with-cpp-headers.patch	Wed May 02 11:12:13 2018 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +This patch imports the proper C++ headers
     1.5 +--- a/include/id3/id3lib_strings.h
     1.6 ++++ b/include/id3/id3lib_strings.h
     1.7 +@@ -30,6 +30,7 @@
     1.8 + #define _ID3LIB_STRINGS_H_
     1.9 + 
    1.10 + #include <string>
    1.11 ++#include <cstring>
    1.12 + 
    1.13 + #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
    1.14 + namespace std
    1.15 +--- a/include/id3/writers.h
    1.16 ++++ b/include/id3/writers.h
    1.17 +@@ -30,7 +30,7 @@
    1.18 + 
    1.19 + #include "id3/writer.h"
    1.20 + #include "id3/id3lib_streams.h"
    1.21 +-//#include <string.h>
    1.22 ++#include <cstring>
    1.23 + 
    1.24 + class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
    1.25 + {