pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/taglib/files Get a newer local version of id3lib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bce7b1ef34cf
branches: trunk
changeset: 506064:bce7b1ef34cf
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 11 16:41:45 2006 +0000
description:
Get a newer local version of id3lib_strings.h, which works with GCC 3.4+.
diffstat:
audio/taglib/files/id3lib_strings.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 6aaee229f185 -r bce7b1ef34cf audio/taglib/files/id3lib_strings.h
--- a/audio/taglib/files/id3lib_strings.h Wed Jan 11 16:32:16 2006 +0000
+++ b/audio/taglib/files/id3lib_strings.h Wed Jan 11 16:41:45 2006 +0000
@@ -1,5 +1,5 @@
// -*- C++ -*-
-// $Id: id3lib_strings.h,v 1.2 2004/06/07 19:36:40 shannonjr Exp $
+// $Id: id3lib_strings.h,v 1.3 2006/01/11 16:41:45 joerg Exp $
// id3lib: a software library for creating and manipulating id3v1/v2 tags
// Copyright 1999, 2000 Scott Thomas Haug
@@ -117,7 +117,8 @@
{ 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>
@@ -197,7 +198,7 @@
typedef std::basic_string<char> String;
typedef std::basic_string<unsigned char> BString;
typedef std::basic_string<wchar_t> WString;
-}
+};
#endif /* _ID3LIB_STRINGS_H_ */
Home |
Main Index |
Thread Index |
Old Index