pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/id3lib Make this package build with gcc-3.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cca9f004670a
branches:  trunk
changeset: 483697:cca9f004670a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Nov 17 17:42:05 2004 +0000

description:
Make this package build with gcc-3.4.

diffstat:

 audio/id3lib/distinfo         |   3 ++-
 audio/id3lib/patches/patch-aa |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 81ad038bd395 -r cca9f004670a audio/id3lib/distinfo
--- a/audio/id3lib/distinfo     Wed Nov 17 17:20:13 2004 +0000
+++ b/audio/id3lib/distinfo     Wed Nov 17 17:42:05 2004 +0000
@@ -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 -r 81ad038bd395 -r cca9f004670a audio/id3lib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/id3lib/patches/patch-aa     Wed Nov 17 17:42:05 2004 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index