media-video/mpv: rebase latest ffmpeg patch on top of 0.29.0
authorIlya Tumaykin <itumaykin@gmail.com>
Mon, 23 Jul 2018 15:46:05 +0000 (18:46 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Jul 2018 08:53:30 +0000 (10:53 +0200)
Package-Manager: Portage-2.3.43, Repoman-2.3.10

media-video/mpv/files/mpv-0.29.0-make-ffmpeg-version-check-non-fatal.patch [moved from media-video/mpv/files/mpv-9999-make-ffmpeg-version-check-non-fatal.patch with 88% similarity]
media-video/mpv/mpv-9999.ebuild

similarity index 88%
rename from media-video/mpv/files/mpv-9999-make-ffmpeg-version-check-non-fatal.patch
rename to media-video/mpv/files/mpv-0.29.0-make-ffmpeg-version-check-non-fatal.patch
index 1594617fba9afa8c889e6ad8185a1777a7293ca8..1a4975a4e3059b103ce7e990d5153b02563d1b4c 100644 (file)
@@ -3,10 +3,10 @@ player: make ffmpeg/libav version check non-fatal
 We already enforce mpv rebuilds when ffmpeg/libav SONAME changes.
 
 diff --git a/player/main.c b/player/main.c
-index 5a3fe4c1b7..8cfbb09c56 100644
+index f56191a297..4e51aebd66 100644
 --- a/player/main.c
 +++ b/player/main.c
-@@ -429,13 +429,12 @@ int mp_initialize(struct MPContext *mpctx, char **options)
+@@ -387,13 +387,12 @@ int mp_initialize(struct MPContext *mpctx, char **options)
          // Distro maintainers who patch this out should be aware that mpv
          // intentionally ignores ABI in some places where it's not possible to
          // get by without violating it.
@@ -25,4 +25,4 @@ index 5a3fe4c1b7..8cfbb09c56 100644
 +                "Please rebuild mpv in case of any problems.\n");
      }
 
-     if (!mpctx->playlist->first && !opts->player_idle_mode)
+     if (!mpctx->playlist->first && !opts->player_idle_mode) {
index eae5391d95d15f8581dbd5a3957a8a1986a1c8e1..ba554e7956f96ddead94bd772d81f0dac3aae779 100644 (file)
@@ -137,7 +137,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 PATCHES=(
-       "${FILESDIR}/${P}-make-ffmpeg-version-check-non-fatal.patch"
+       "${FILESDIR}/${PN}-0.29.0-make-ffmpeg-version-check-non-fatal.patch"
 )
 
 src_prepare() {