summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorminskim <minskim>2004-11-17 17:42:05 +0000
committerminskim <minskim>2004-11-17 17:42:05 +0000
commit3592ba9d89db9ba37b306e377f6970b77d327727 (patch)
treee99c13f974b66f5dfe26350ea336bba07eb97795 /audio
parenteacf2ecb51053a514e76b38479e804521824e7ca (diff)
downloadpkgsrc-3592ba9d89db9ba37b306e377f6970b77d327727.tar.gz
Make this package build with gcc-3.4.
Diffstat (limited to 'audio')
-rw-r--r--audio/id3lib/distinfo3
-rw-r--r--audio/id3lib/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/id3lib/distinfo b/audio/id3lib/distinfo
index 874a8576de7..b18be770705 100644
--- a/audio/id3lib/distinfo
+++ b/audio/id3lib/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2003/03/05 12:49:21 wiz Exp $
+$NetBSD: distinfo,v 1.10 2004/11/17 17:42:05 minskim Exp $
SHA1 (id3lib-3.8.3.tar.gz) = c92c880da41d1ec0b242745a901702ae87970838
Size (id3lib-3.8.3.tar.gz) = 950726 bytes
+SHA1 (patch-aa) = 75b19258eeaeb65aa2fa43cd44769aa1d6e575c3
SHA1 (patch-af) = 0266e9220791b7b14a35dc9b7564ab75cbc6562b
SHA1 (patch-ag) = a047fe90d83c88e0f6d0a6a0595a440ef49276e3
diff --git a/audio/id3lib/patches/patch-aa b/audio/id3lib/patches/patch-aa
new file mode 100644
index 00000000000..4f2585b397f
--- /dev/null
+++ b/audio/id3lib/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2004/11/17 17:42:05 minskim Exp $
+
+--- include/id3/id3lib_strings.h.orig 2003-03-01 18:23:00.000000000 -0600
++++ include/id3/id3lib_strings.h
+@@ -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>