summaryrefslogtreecommitdiff
path: root/audio/id3lib/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'audio/id3lib/patches/patch-aj')
-rw-r--r--audio/id3lib/patches/patch-aj15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/id3lib/patches/patch-aj b/audio/id3lib/patches/patch-aj
new file mode 100644
index 00000000000..3cc8fb1a259
--- /dev/null
+++ b/audio/id3lib/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.3 2007/01/20 01:04:04 rillig Exp $
+
+char and unsigned char are different data types.
+
+--- src/tag_file.cpp.orig 2003-03-02 01:23:00.000000000 +0100
++++ src/tag_file.cpp 2007-01-10 21:57:03.513247016 +0100
+@@ -282,7 +282,7 @@ size_t RenderV2ToFile(const ID3_TagImpl&
+
+ tmpOut.write(tagData, tagSize);
+ file.seekg(tag.GetPrependedBytes(), ios::beg);
+- uchar tmpBuffer[BUFSIZ];
++ char tmpBuffer[BUFSIZ];
+ while (file)
+ {
+ file.read(tmpBuffer, BUFSIZ);