summaryrefslogtreecommitdiffstats
path: root/audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch')
-rw-r--r--audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch b/audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch
new file mode 100644
index 0000000000..6ef1a22d5a
--- /dev/null
+++ b/audio-libs/libid3tag/patches/libid3tag-0.15.1b-compat.patch
@@ -0,0 +1,13 @@
+diff -ur libid3tag-0.15.1b/compat.gperf libid3tag-0.15.1b.fixed/compat.gperf
+--- libid3tag-0.15.1b/compat.gperf Fri Jan 23 01:41:32 2004
++++ libid3tag-0.15.1b.fixed/compat.gperf Thu Oct 19 12:21:10 2006
+@@ -237,6 +237,9 @@
+ encoding = id3_parse_uint(&data, 1);
+ string = id3_parse_string(&data, end - data, encoding, 0);
+
++ if (string == 0)
++ continue;
++
+ if (id3_ucs4_length(string) < 4) {
+ free(string);
+ continue;