summaryrefslogtreecommitdiffstats
path: root/testing/id3lib/10-fix-compilation-with-cpp-headers.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-14 22:21:38 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-14 22:22:13 +0200
commitac29cc338be46b86e61922f69d928645d71d5a9b (patch)
tree6790b0f01deb91375a32c5770d645db5be330872 /testing/id3lib/10-fix-compilation-with-cpp-headers.patch
parent8d50d846c0d0fe2ccb11f4a40feaac9c76f866ad (diff)
downloadaports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.bz2
aports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.xz
testing/id3lib: new aport
Diffstat (limited to 'testing/id3lib/10-fix-compilation-with-cpp-headers.patch')
-rw-r--r--testing/id3lib/10-fix-compilation-with-cpp-headers.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/id3lib/10-fix-compilation-with-cpp-headers.patch b/testing/id3lib/10-fix-compilation-with-cpp-headers.patch
new file mode 100644
index 000000000..a9b45ab02
--- /dev/null
+++ b/testing/id3lib/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 <string>
++#include <cstring>
+
+ #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 <string.h>
++#include <cstring>
+
+ class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
+ {