summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-03 22:15:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-03 23:11:27 +0200
commit7419acce365a5445b1d05b11699ac97761569804 (patch)
treeb45b8296edc825ed45c3865cbe8b1ec6e06d5fd8 /media-libs/libmp4v2/files
parentdev-python/pyftpdlib: fix tests with TZ=GMT (diff)
downloadgentoo-7419acce365a5445b1d05b11699ac97761569804.tar.gz
gentoo-7419acce365a5445b1d05b11699ac97761569804.tar.bz2
gentoo-7419acce365a5445b1d05b11699ac97761569804.zip
media-libs/libmp4v2: EAPI-7 bump, fix tag corruption
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'media-libs/libmp4v2/files')
-rw-r--r--media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch (renamed from media-libs/libmp4v2/files/gcc7.patch)11
-rw-r--r--media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch20
2 files changed, 28 insertions, 3 deletions
diff --git a/media-libs/libmp4v2/files/gcc7.patch b/media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch
index fbfae97e58c0..156f0fcbaa0d 100644
--- a/media-libs/libmp4v2/files/gcc7.patch
+++ b/media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch
@@ -1,8 +1,13 @@
https://bugs.gentoo.org/show_bug.cgi?id=600892
---- mp4v2-2.0.0/src/rtphint.cpp 2012-05-20 16:11:53.000000000 -0600
-+++ /tmp/rtphint.cpp 2017-05-16 10:25:26.930705191 -0600
-@@ -339,7 +339,7 @@
+Description: Fix pointer comparison (FTBFS on GCC 7)
+Author: Philip Chung <philipchung1995@yahoo.com>
+Bug-Debian: https://bugs.debian.org/853560
+Last-Update: 2017-09-04
+
+--- a/src/rtphint.cpp
++++ b/src/rtphint.cpp
+@@ -339,7 +339,7 @@ void MP4RtpHintTrack::GetPayload(
pSlash = strchr(pSlash, '/');
if (pSlash != NULL) {
pSlash++;
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
new file mode 100644
index 000000000000..1c41a41da988
--- /dev/null
+++ b/media-libs/libmp4v2/files/libmp4v2-2.0.0-mp4tags-corruption.patch
@@ -0,0 +1,20 @@
+From: "Matteo F. Vescovi" <mfv@debian.org>
+Date: Thu, 5 Nov 2015 15:26:00 +0100
+Subject: Fix_mp4tags_corruption
+
+---
+ util/mp4tags.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/util/mp4tags.cpp b/util/mp4tags.cpp
+index 1b9e866..80e89d4 100644
+--- a/util/mp4tags.cpp
++++ b/util/mp4tags.cpp
+@@ -539,6 +539,7 @@ extern "C" int
+ else {
+ fprintf( stderr, "Art file %s not found\n", tags[i] );
+ }
++ break;
+ }
+ case OPT_ALBUM_ARTIST:
+ MP4TagsSetAlbumArtist( mdata, tags[i] ); \ No newline at end of file