diff options
Diffstat (limited to 'media-libs/libmp4v2')
-rw-r--r-- | media-libs/libmp4v2/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libmp4v2/files/libmp4v2-2.0.0-clang.patch | 36 | ||||
-rw-r--r-- | media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch | 2 | ||||
-rw-r--r-- | media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild | 9 |
4 files changed, 46 insertions, 6 deletions
diff --git a/media-libs/libmp4v2/Manifest b/media-libs/libmp4v2/Manifest index 167d729cc6f5..5d896a9ed8a3 100644 --- a/media-libs/libmp4v2/Manifest +++ b/media-libs/libmp4v2/Manifest @@ -1,8 +1,9 @@ +AUX libmp4v2-2.0.0-clang.patch 1157 BLAKE2B cf4763c29017840322d0d31fd859057b2c5151ecb226bcab1d7fab972b4594659dfd9aaed0f7b828d687bf9e05f569cd4d42daf5ce21e6bdb44c0204f1af2028 SHA512 5015dfbd2126d180c7f1b57aecbde592b33fc56d45dc7a4178b0ec88b0ed2dcec23a3a09707bc52dbb6fbeebec1fd272d7625b77e986c7f880994cf6441125fb AUX libmp4v2-2.0.0-gcc7.patch 747 BLAKE2B 5bed55f8c9e9593261d9738871de162fdfaec6239078e3ffc0fc85352e60687ba93e37f63edd8fbaf576ffa5966aef07fd58171366ec60ac5969a80eb92f6016 SHA512 18433209711b88cf4a09dcf6ad26d7d717d6593d9b006258e80aac85fee01da17bbf7e67e60c75c82e18652eaddcdb2d945dec52f2f75aa0f236bd5328aab760 -AUX libmp4v2-2.0.0-mp4tags-corruption.patch 641 BLAKE2B 2e375382dd8bab2e7a006fe9f80c8d44ee1e2b00ccf9b4a4250782437fe49b6be25e2badb9bff774b5568d175111953f7cdc064d0a1eff8425632eb2221a7ef0 SHA512 479615f92556beb36b2a489c228b1f7b64f8d59d5d0131e414fa82e3961b46c9b99fb6671d8c54c996de58472660ffc4e999a3ff7ce03f6c00b04365947e471a +AUX libmp4v2-2.0.0-mp4tags-corruption.patch 642 BLAKE2B 86a1b614dfc2e4dbcee97ebe9b029feac2078eb3d6c25793f291f625ad1e0dc1df85d028813fe96e980e2d8fef4a5eb821da8622f3ce3f8b28835dd020812d7f SHA512 565959560941ec0503b17a1e6a9cae85a03d6f97e4f4ea66cf457c941de96148606f23471525bf786bd95f78097b3376020a40d53fc7a4675c1db9819e7e8593 DIST mp4v2-1.9.1.tar.bz2 432943 BLAKE2B 529ecc3ebd9192ab61febd0512704b5867abf29dc9755c5e61100522ebecc25189000886b152115c12fedbfbe5cc38bb36adb9281e6e60bbf43e86605432aae0 SHA512 28b6f96c1d44a1601980113767c38f5b5b058e1a1fae25c18632163e948c18fc884af9d146bb68e771303ab3c5c8ef9437f4fffa7d770d29157f2d455ee4b1c8 DIST mp4v2-2.0.0.tar.bz2 495672 BLAKE2B 966c90b443bd6f7a81c96fd12f95b00c3ec89cd476aa0fff3e0450b315d54543578ef953c5e3f28d52ca800a0768c601dddc8e99a32ff512767cd65c12832bd5 SHA512 15eb882f33d72d4209053b54c883b67715f539c33096705a0e7bc79015b93f6f3ac80ae29c65a0ffe9eab1bf0dedf07198bdee23fa6eafcd6ccb34f984484be0 EBUILD libmp4v2-1.9.1-r1.ebuild 942 BLAKE2B 5e19a4fabe3ce152f34767003a423d898e39d110f58b7a35d540198dc0182578c7121ed339a3ccbb8dd238333b4d5d1470f0521b625bbb40ad279114d626ab54 SHA512 112c12d3642e06e8a7d0a7ca027840cf39cece7ad20ba555f645b86c8538be8647a313d474cb1019c47b77d235735603194378711778b159a7ea4518e39ae1b3 -EBUILD libmp4v2-2.0.0-r1.ebuild 1071 BLAKE2B 0635266a4893ebb9a9f32728408b6eb8f8d8bf14a046c73fa9ee26941965dc2c0d89b2e15ecc61b553996c8544b3cc5b7eed40f3d2649e34eb0bfae24f7dbb92 SHA512 88e05306846b77fe3bcc18ed132c696ec1e14215fb7c01ccc257abd54279510a60cc7c04f648e560de81c3308f97ca8df5cf76c3f621ba0dd77bd8f16df565d2 +EBUILD libmp4v2-2.0.0-r1.ebuild 1100 BLAKE2B 2c97ce9bd972e04b9187fb6f5e6f2357ed7c877f35bdcc5feb13b69c51fcea506353bb1e346a49ad75ca714a08e2bb45c9568f12e8b7fdf62f70536d9c17a4bc SHA512 5d228facb081d2fce142c01009b2e793fb5ab80069dcf3b0579c6bc85e1cde287374de47678e3486a36a7ec35fbf75d75681752797db8fccaf77eb33de80c2e3 EBUILD libmp4v2-2.0.0.ebuild 962 BLAKE2B 7970f6a4fd28c7e76a7f4cdccdb75425949aa98c1dea1b265867d55bb2e6409a2c4b70acdda101649710345899951cd084f1f286cd0fa7f6422be2222ef4955b SHA512 c38f286376dd1e82da888c6b1833485b3c2dc0c657974b58e717d20d05cee6512b9da70d33f9ead9cb43daf128a00f55a57a934cee62dc00e4f209cee1aed7fc MISC metadata.xml 402 BLAKE2B ed37dabc480f00cf0f23df37f1e1f9203d81415f9c030f307f1265f9550f5e6a2466de8387b0f16eb7c40dd6e3705bff031df7b264594a7319751ba83c1c7d6b SHA512 63643195e04ecdb3a79a862991760894a4fc52aa073ee1aba1efba4babdd926002fe271d04f82e4e40dbf4cad2fa77fd7853620fe11badb14cc83d27c342ad70 diff --git a/media-libs/libmp4v2/files/libmp4v2-2.0.0-clang.patch b/media-libs/libmp4v2/files/libmp4v2-2.0.0-clang.patch new file mode 100644 index 000000000000..34aa81cc5e0e --- /dev/null +++ b/media-libs/libmp4v2/files/libmp4v2-2.0.0-clang.patch @@ -0,0 +1,36 @@ +From edc4f0ad8f37bb8aeae4e3ea34766dc6cdbb2f15 Mon Sep 17 00:00:00 2001 +From: David Carlos Manuelda <StormByte@gmail.com> +Date: Tue, 7 Aug 2018 05:42:28 +0200 +Subject: [PATCH] Fix clang compilation + +--- + src/mp4.cpp | 2 +- + src/mp4util.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/mp4.cpp b/src/mp4.cpp +index 1016f79..d576103 100644 +--- a/src/mp4.cpp ++++ b/src/mp4.cpp +@@ -896,7 +896,7 @@ MP4FileHandle MP4ReadProvider( const char* fileName, const MP4FileProvider* file + } + + catch (...) { +- return MP4_INVALID_TRACK_ID; ++ return (mp4v2_ismacrypParams *)MP4_INVALID_TRACK_ID; + } + } + +diff --git a/src/mp4util.h b/src/mp4util.h +index 1fbbd81..b33bb44 100644 +--- a/src/mp4util.h ++++ b/src/mp4util.h +@@ -33,7 +33,7 @@ namespace mp4v2 { namespace impl { + #ifndef ASSERT + # define ASSERT(expr) \ + if (!(expr)) { \ +- throw new Exception("assert failure: "LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \ ++ throw new Exception("assert failure: " LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \ + } + #endif +
\ No newline at end of file diff --git a/media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch b/media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch index 1c41a41da988..182d41bb8123 100644 --- a/media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch +++ b/media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch @@ -17,4 +17,4 @@ index 1b9e866..80e89d4 100644 + break; } case OPT_ALBUM_ARTIST: - MP4TagsSetAlbumArtist( mdata, tags[i] );
\ No newline at end of file + MP4TagsSetAlbumArtist( mdata, tags[i] ); diff --git a/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild b/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild index 9f5cac1bf140..51e7f1a9baef 100644 --- a/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild +++ b/media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild @@ -12,12 +12,14 @@ SRC_URI="https://mp4v2.googlecode.com/files/${MY_P}.tar.bz2" LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="static-libs test utils" -BDEPEND="sys-apps/sed +BDEPEND=" + sys-apps/sed + test? ( dev-util/dejagnu ) utils? ( sys-apps/help2man ) - test? ( dev-util/dejagnu )" +" DOCS=( doc/{Authors,BuildSource,Documentation,ReleaseNotes,ToolGuide}.txt README ) @@ -26,6 +28,7 @@ S=${WORKDIR}/${MY_P} PATCHES=( "${FILESDIR}/${P}-gcc7.patch" "${FILESDIR}/${P}-mp4tags-corruption.patch" + "${FILESDIR}/${P}-clang.patch" ) src_prepare() { |