aboutsummaryrefslogtreecommitdiffstats
path: root/community/id3lib/10-fix-compilation-with-cpp-headers.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-08 22:47:27 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-09 11:55:49 +0100
commit9b1499bd9c610e813b1ef685ccca74a37d1362ba (patch)
tree78bc2691eda468f476768e3c0de03bcaf58163b3 /community/id3lib/10-fix-compilation-with-cpp-headers.patch
parentfb35b14863cfd9f7be8d826d96e2108efd3a0640 (diff)
downloadaports-9b1499bd9c610e813b1ef685ccca74a37d1362ba.tar.gz
aports-9b1499bd9c610e813b1ef685ccca74a37d1362ba.tar.bz2
aports-9b1499bd9c610e813b1ef685ccca74a37d1362ba.tar.xz
community/id3lib: move from testing
Diffstat (limited to 'community/id3lib/10-fix-compilation-with-cpp-headers.patch')
-rw-r--r--community/id3lib/10-fix-compilation-with-cpp-headers.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/id3lib/10-fix-compilation-with-cpp-headers.patch b/community/id3lib/10-fix-compilation-with-cpp-headers.patch
new file mode 100644
index 0000000000..9f1eb3326f
--- /dev/null
+++ b/community/id3lib/10-fix-compilation-with-cpp-headers.patch
@@ -0,0 +1,21 @@
+--- 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
+ {