summaryrefslogtreecommitdiffstats
path: root/audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch')
-rw-r--r--audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch b/audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch
new file mode 100644
index 0000000000..852d9efd69
--- /dev/null
+++ b/audio-libs/libid3tag/patches/libid3tag-0.15.1b-64bit-long.patch
@@ -0,0 +1,24 @@
+--- id3tag.h.orig 2004-01-23 18:22:46.000000000 -0500
++++ id3tag.h 2008-05-04 19:46:33.000000000 -0400
+@@ -25,6 +25,8 @@
+ # ifndef LIBID3TAG_ID3TAG_H
+ # define LIBID3TAG_ID3TAG_H
+
++#include <stdint.h>
++
+ # ifdef __cplusplus
+ extern "C" {
+ # endif
+@@ -36,10 +38,10 @@
+ typedef unsigned char id3_byte_t;
+ typedef unsigned long id3_length_t;
+
+-typedef unsigned long id3_ucs4_t;
++typedef uint32_t id3_ucs4_t;
+
+ typedef unsigned char id3_latin1_t;
+-typedef unsigned short id3_utf16_t;
++typedef uint16_t id3_utf16_t;
+ typedef signed char id3_utf8_t;
+
+ struct id3_tag {