FreeBSD Bugzilla – Attachment 251887 Details for
Bug 280143
multimedia/kodi: Fix fallout caused by taglib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Match taglib's data type
kodi.patch (text/plain), 1.65 KB, created by
yzrh
on 2024-07-05 17:47:58 UTC
(
hide
)
Description:
Match taglib's data type
Filename:
MIME Type:
Creator:
yzrh
Created:
2024-07-05 17:47:58 UTC
Size:
1.65 KB
patch
obsolete
>diff -urN a/multimedia/kodi/files/patch-xbmc_music_tags_TagLibVFSStream.h b/multimedia/kodi/files/patch-xbmc_music_tags_TagLibVFSStream.h >--- a/multimedia/kodi/files/patch-xbmc_music_tags_TagLibVFSStream.h 1970-01-01 00:00:00.000000000 +0000 >+++ b/multimedia/kodi/files/patch-xbmc_music_tags_TagLibVFSStream.h 2024-07-05 11:35:25.249062000 +0000 >@@ -0,0 +1,41 @@ >+--- xbmc/music/tags/TagLibVFSStream.h.orig 2024-06-28 10:37:37 UTC >++++ xbmc/music/tags/TagLibVFSStream.h >+@@ -38,7 +38,7 @@ namespace MUSIC_INFO >+ * Reads a block of size \a length at the current get pointer. >+ */ >+ #if (TAGLIB_MAJOR_VERSION >= 2) >+- TagLib::ByteVector readBlock(unsigned long length) override; >++ TagLib::ByteVector readBlock(size_t length) override; >+ #else >+ TagLib::ByteVector readBlock(TagLib::ulong length) override; >+ #endif >+@@ -99,7 +99,7 @@ namespace MUSIC_INFO >+ * >+ * \see Position >+ */ >+- void seek(long offset, TagLib::IOStream::Position p = Beginning) override; >++ void seek(TagLib::offset_t offset, TagLib::IOStream::Position p = Beginning) override; >+ >+ /*! >+ * Reset the end-of-file and error flags on the file. >+@@ -109,17 +109,17 @@ namespace MUSIC_INFO >+ /*! >+ * Returns the current offset within the file. >+ */ >+- long tell() const override; >++ TagLib::offset_t tell() const override; >+ >+ /*! >+ * Returns the length of the file. >+ */ >+- long length() override; >++ TagLib::offset_t length() override; >+ >+ /*! >+ * Truncates the file to a \a length. >+ */ >+- void truncate(long length) override; >++ void truncate(TagLib::offset_t length) override; >+ >+ protected: >+ /*!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280143
:
251887
|
251888
|
252196
Working