diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2024-06-06 17:13:11 -0400 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2024-06-06 19:00:24 -0400 |
commit | 2f83aa02c6c9ce25f10577e2f67f5fa588112908 (patch) | |
tree | 9ce7c850f9572057ba0363a8341c7980372fc679 /audio | |
parent | sysutils/tracker-miners: Drop unused taglib dep (diff) |
audio/mp3unicode: Prepare for Taglib 2.x
PR: 276677
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mp3unicode/files/patch-mp3unicode.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mp3unicode/files/patch-mp3unicode.cpp b/audio/mp3unicode/files/patch-mp3unicode.cpp new file mode 100644 index 000000000000..009bbbc36bec --- /dev/null +++ b/audio/mp3unicode/files/patch-mp3unicode.cpp @@ -0,0 +1,13 @@ +Fix build with Taglib 2.x + +--- mp3unicode.cpp.orig 2012-05-07 12:03:19 UTC ++++ mp3unicode.cpp +@@ -192,7 +192,7 @@ class Converter { (protected) + bool + heuristicIsUnicode (TagLib::String string) { + unsigned u0080 = 0; +- for(TagLib::uint i = 0; i < string.size(); i++) { ++ for(uint i = 0; i < string.size(); i++) { + if(string[i] > 255) { + return true; + } |