From 10d40f27c9f65ef1bf2f7169bb5fd62dd81a20fa Mon Sep 17 00:00:00 2001 From: Dominik Drobek Date: Sat, 25 Jan 2020 07:24:27 +0700 Subject: libraries/id3lib: Add upstream patches. Signed-off-by: Willy Sudiarto Raharjo --- .../10-fix-compilation-with-cpp-headers.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libraries/id3lib/patches/10-fix-compilation-with-cpp-headers.patch (limited to 'libraries/id3lib/patches/10-fix-compilation-with-cpp-headers.patch') diff --git a/libraries/id3lib/patches/10-fix-compilation-with-cpp-headers.patch b/libraries/id3lib/patches/10-fix-compilation-with-cpp-headers.patch new file mode 100644 index 0000000000..a9b45ab02c --- /dev/null +++ b/libraries/id3lib/patches/10-fix-compilation-with-cpp-headers.patch @@ -0,0 +1,22 @@ +This patch imports the proper C++ headers +--- a/include/id3/id3lib_strings.h ++++ b/include/id3/id3lib_strings.h +@@ -30,6 +30,7 @@ + #define _ID3LIB_STRINGS_H_ + + #include ++#include + + #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000)) + namespace std +--- a/include/id3/writers.h ++++ b/include/id3/writers.h +@@ -30,7 +30,7 @@ + + #include "id3/writer.h" + #include "id3/id3lib_streams.h" +-//#include ++#include + + class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer + { -- cgit v1.2.3