summaryrefslogtreecommitdiffstats
path: root/libraries/id3lib/patches/id3lib.cppheaders.patch
diff options
context:
space:
mode:
author Dominik Drobek <dominik.drobek (at) o2.pl>2020-02-08 23:21:35 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-09 21:52:05 +0700
commit36418881bda346f45c5be5cd9ced6601c853c080 (patch)
tree9fcff24a87b4d68cbe444532d6fc946180038dc7 /libraries/id3lib/patches/id3lib.cppheaders.patch
parenta97cc7b79a7f7e25e7ea1655aeb0e24ec7118ec8 (diff)
downloadslackbuilds-36418881bda346f45c5be5cd9ced6601c853c080.tar.gz
slackbuilds-36418881bda346f45c5be5cd9ced6601c853c080.tar.xz
libraries/id3lib: use patches from Slackware-current
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/id3lib/patches/id3lib.cppheaders.patch')
-rw-r--r--libraries/id3lib/patches/id3lib.cppheaders.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libraries/id3lib/patches/id3lib.cppheaders.patch b/libraries/id3lib/patches/id3lib.cppheaders.patch
new file mode 100644
index 0000000000..a9b45ab02c
--- /dev/null
+++ b/libraries/id3lib/patches/id3lib.cppheaders.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
+ {