| @@ -1,18 +1,22 @@ | | | @@ -1,18 +1,22 @@ |
1 | $NetBSD: patch-aa,v 1.1.1.1 2004/02/09 00:30:25 chris Exp $ | | 1 | $NetBSD: patch-aa,v 1.2 2009/09/19 17:00:39 tnn Exp $ |
2 | | | 2 | |
3 | --- taglib/toolkit/taglib.h.orig 2004-02-08 16:24:42.000000000 +0000 | | 3 | --- taglib/toolkit/taglib.h.orig 2009-09-03 20:05:58.000000000 +0200 |
4 | +++ taglib/toolkit/taglib.h 2004-02-08 16:26:01.000000000 +0000 | | 4 | +++ taglib/toolkit/taglib.h |
5 | @@ -29,6 +29,13 @@ | | 5 | @@ -37,9 +37,17 @@ |
| | | 6 | #endif |
| | | 7 | |
| | | 8 | #include <string> |
| | | 9 | +#include <string.h> |
6 | | | 10 | |
7 | //! A namespace for all TagLib related classes and functions | | 11 | //! A namespace for all TagLib related classes and functions |
8 | | | 12 | |
9 | +/* | | 13 | +/* |
10 | + * not all C++ compilers provide char_traits for wchar | | 14 | + * not all C++ compilers provide char_traits for wchar |
11 | + * so we borrow a file from id3lib as it has the relevant bits | | 15 | + * so we borrow a file from id3lib as it has the relevant bits |
12 | + */ | | 16 | + */ |
13 | +#define ID3_NEED_WCHAR_TEMPLATE 1 | | 17 | +#define ID3_NEED_WCHAR_TEMPLATE 1 |
14 | +#include "id3lib_strings.h" | | 18 | +#include "id3lib_strings.h" |
15 | + | | 19 | + |
16 | /*! | | 20 | /*! |
17 | * This namespace contains everything in TagLib. For projects working with | | 21 | * This namespace contains everything in TagLib. For projects working with |
18 | * TagLib extensively it may be conveniten to add a | | 22 | * TagLib extensively it may be conveniten to add a |