03fcf967f4
Fixes problems in amarok (and probably other dependencies). Bump PKGREVISION.
27 lines
942 B
Text
27 lines
942 B
Text
$NetBSD: patch-aa,v 1.4 2006/09/23 13:26:24 wiz Exp $
|
|
|
|
--- include/id3/id3lib_strings.h.orig 2003-03-02 00:23:00.000000000 +0000
|
|
+++ include/id3/id3lib_strings.h
|
|
@@ -100,10 +100,10 @@ namespace std
|
|
|
|
static char_type
|
|
to_char_type(const int_type& __c)
|
|
- { return char_type(); }
|
|
+ { return char_type(__c); }
|
|
|
|
static int_type
|
|
- to_int_type(const char_type& __c) { return int_type(); }
|
|
+ to_int_type(const char_type& __c) { return int_type(__c); }
|
|
|
|
static bool
|
|
eq_int_type(const int_type& __c1, const int_type& __c2)
|
|
@@ -117,7 +117,8 @@ namespace std
|
|
{ return eq_int_type(__c, eof()) ? int_type(0) : __c; }
|
|
};
|
|
|
|
-#ifndef _GLIBCPP_USE_WCHAR_T
|
|
+/* gcc-3.4 defines _GLIBCXX_USE_WCHAR_T instead of _GLIBCPP_USE_WCHAR_T */
|
|
+#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
|
|
#if (defined(ID3_NEED_WCHAR_TEMPLATE))
|
|
template<>
|
|
struct char_traits<wchar_t>
|