diff options
author | drochner <drochner> | 2001-07-31 14:28:00 +0000 |
---|---|---|
committer | drochner <drochner> | 2001-07-31 14:28:00 +0000 |
commit | c9287ddb302ef55088bf4ce4496355c577486537 (patch) | |
tree | 55fd2c11b27bd6a2c22dee42d63e00dd0b1929c5 /audio/id3lib/patches | |
parent | 86f5ccae9e6c49be323a14b084b8751dceeb9d2e (diff) | |
download | pkgsrc-c9287ddb302ef55088bf4ce4496355c577486537.tar.gz |
initial import of id3lib-3.8.0pre1,
a library for manipulating ID3v1 and ID3v2 tags
Diffstat (limited to 'audio/id3lib/patches')
-rw-r--r-- | audio/id3lib/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/id3lib/patches/patch-ab | 28 | ||||
-rw-r--r-- | audio/id3lib/patches/patch-ac | 58 | ||||
-rw-r--r-- | audio/id3lib/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/id3lib/patches/patch-ae | 13 |
5 files changed, 125 insertions, 0 deletions
diff --git a/audio/id3lib/patches/patch-aa b/audio/id3lib/patches/patch-aa new file mode 100644 index 00000000000..04940912c27 --- /dev/null +++ b/audio/id3lib/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $ + +--- src/Makefile.in.orig Mon Jul 30 16:27:57 2001 ++++ src/Makefile.in Mon Jul 30 16:28:44 2001 +@@ -129,7 +129,7 @@ + LTLIBRARIES = $(lib_LTLIBRARIES) + + +-DEFS = @DEFS@ -I. -I$(srcdir) -I.. ++DEFS = @DEFS@ -I. -I$(srcdir) -I.. -D_ANSI_SOURCE + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ diff --git a/audio/id3lib/patches/patch-ab b/audio/id3lib/patches/patch-ab new file mode 100644 index 00000000000..1a97738bcd2 --- /dev/null +++ b/audio/id3lib/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $ + +--- src/frame_impl.h.orig Mon Jul 30 16:21:20 2001 ++++ src/frame_impl.h Mon Jul 30 16:30:26 2001 +@@ -29,13 +29,12 @@ + #define _ID3LIB_FRAME_IMPL_H_ + + #include <vector> +-#include <bitset> + #include "frame.h" + #include "header_frame.h" + + class ID3_FrameImpl + { +- typedef std::bitset<ID3FN_LASTFIELDID> Bitset; ++ typedef std::bit_vector Bitset; + typedef std::vector<ID3_Field *> Fields; + public: + typedef Fields::iterator iterator; +@@ -68,7 +67,7 @@ + void Render(ID3_Writer&) const; + size_t Size(); + bool Contains(ID3_FieldID fld) const +- { return _bitset.test(fld); } ++ { return _bitset[fld]; } + bool SetSpec(ID3_V2Spec); + ID3_V2Spec GetSpec() const; + diff --git a/audio/id3lib/patches/patch-ac b/audio/id3lib/patches/patch-ac new file mode 100644 index 00000000000..a60698adcc8 --- /dev/null +++ b/audio/id3lib/patches/patch-ac @@ -0,0 +1,58 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $ + +--- src/frame_impl.cpp.orig Mon Jul 30 16:21:31 2001 ++++ src/frame_impl.cpp Mon Jul 30 16:31:41 2001 +@@ -37,7 +37,7 @@ + + ID3_FrameImpl::ID3_FrameImpl(ID3_FrameID id) + : _changed(false), +- _bitset(), ++ _bitset(ID3FN_LASTFIELDID, false), + _fields(), + _encryption_id('\0'), + _grouping_id('\0') +@@ -48,7 +48,7 @@ + + ID3_FrameImpl::ID3_FrameImpl(const ID3_FrameHeader &hdr) + : _changed(false), +- _bitset(), ++ _bitset(ID3FN_LASTFIELDID, false), + _fields(), + _hdr(hdr), + _encryption_id('\0'), +@@ -59,7 +59,7 @@ + + ID3_FrameImpl::ID3_FrameImpl(const ID3_Frame& frame) + : _changed(false), +- _bitset(), ++ _bitset(ID3FN_LASTFIELDID, false), + _fields(), + _encryption_id('\0'), + _grouping_id('\0') +@@ -80,7 +80,7 @@ + } + + _fields.clear(); +- _bitset.reset(); ++ _bitset.clear(); + + _changed = true; + return true; +@@ -102,7 +102,7 @@ + // log this + ID3_Field* fld = new ID3_FieldImpl(ID3_FieldDef::DEFAULT[0]); + _fields.push_back(fld); +- _bitset.set(fld->GetID()); ++ _bitset[fld->GetID()] = true; + } + else + { +@@ -111,7 +111,7 @@ + { + ID3_Field* fld = new ID3_FieldImpl(info->aeFieldDefs[i]); + _fields.push_back(fld); +- _bitset.set(fld->GetID()); ++ _bitset[fld->GetID()] = true; + } + + _changed = true; diff --git a/audio/id3lib/patches/patch-ad b/audio/id3lib/patches/patch-ad new file mode 100644 index 00000000000..b25104c3569 --- /dev/null +++ b/audio/id3lib/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $ + +--- examples/Makefile.in.orig Mon Jul 30 16:34:20 2001 ++++ examples/Makefile.in Mon Jul 30 16:46:46 2001 +@@ -110,7 +110,7 @@ + @ID3_NEEDGETOPT_LONG_TRUE@getopt_lib = getopt.o getopt1.o + @ID3_NEEDGETOPT_LONG_FALSE@getopt_lib = + +-LDADD = $(top_builddir)/src/libid3.la $(zlib_lib) $(ID3_DEBUG_LIBS) $(getopt_lib) ++LDADD = $(top_builddir)/src/libid3.la $(zlib_lib) $(ID3_DEBUG_LIBS) $(getopt_lib) -lstdc++ -lm + + INCLUDES = @ID3LIB_DEBUG_FLAGS@ -I$(top_srcdir)/include + diff --git a/audio/id3lib/patches/patch-ae b/audio/id3lib/patches/patch-ae new file mode 100644 index 00000000000..8e469ff0685 --- /dev/null +++ b/audio/id3lib/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $ + +--- include/id3/strings.h.orig Mon Jul 30 16:51:38 2001 ++++ include/id3/strings.h Mon Jul 30 16:52:01 2001 +@@ -34,7 +34,7 @@ + { + typedef std::basic_string<char> String; + typedef std::basic_string<unsigned char> BString; +- typedef std::basic_string<wchar_t> WString; ++ typedef std::basic_string<unsigned char> WString; + }; + + #endif /* _ID3LIB_STRINGS_H_ */ |