1 $NetBSD: patch-aa,v 1.4 2006/09/23 13:26:24 wiz Exp $
3 --- include/id3/id3lib_strings.h.orig 2003-03-02 00:23:00.000000000 +0000
4 +++ include/id3/id3lib_strings.h
5 @@ -100,10 +100,10 @@ namespace std
8 to_char_type(const int_type& __c)
9 - { return char_type(); }
10 + { return char_type(__c); }
13 - to_int_type(const char_type& __c) { return int_type(); }
14 + to_int_type(const char_type& __c) { return int_type(__c); }
17 eq_int_type(const int_type& __c1, const int_type& __c2)
18 @@ -117,7 +117,8 @@ namespace std
19 { return eq_int_type(__c, eof()) ? int_type(0) : __c; }
22 -#ifndef _GLIBCPP_USE_WCHAR_T
23 +/* gcc-3.4 defines _GLIBCXX_USE_WCHAR_T instead of _GLIBCPP_USE_WCHAR_T */
24 +#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
25 #if (defined(ID3_NEED_WCHAR_TEMPLATE))
27 struct char_traits<wchar_t>