1 |
commit: 549f9b5f320c3e0032551e0da821d1151ea764df |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 23 12:13:40 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 23 12:13:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549f9b5f |
7 |
|
8 |
media-video/mplayer: backport upstream patch fixing vdpau build with latest ffmpeg, bug #625650 |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
media-video/mplayer/files/mplayer-1.3-vdpau-x11.patch | 19 +++++++++++++++++++ |
13 |
media-video/mplayer/mplayer-1.3.0-r3.ebuild | 2 ++ |
14 |
2 files changed, 21 insertions(+) |
15 |
|
16 |
diff --git a/media-video/mplayer/files/mplayer-1.3-vdpau-x11.patch b/media-video/mplayer/files/mplayer-1.3-vdpau-x11.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..ae21941a8aa |
19 |
--- /dev/null |
20 |
+++ b/media-video/mplayer/files/mplayer-1.3-vdpau-x11.patch |
21 |
@@ -0,0 +1,19 @@ |
22 |
+r37932 | al | 2017-04-20 01:06:04 +0200 (Thu, 20 Apr 2017) | 6 lines |
23 |
+ |
24 |
+vo_vdpau: Explicitly include header vdpau_x11.h |
25 |
+ |
26 |
+The include from inside libavcodec/vdpau.h was removed in FFmpeg |
27 |
+commit d40e181bec22014a9ea312ab6837f7f0bc4f9e42 . |
28 |
+ |
29 |
+Index: libvo/vo_vdpau.c |
30 |
+=================================================================== |
31 |
+--- libvo/vo_vdpau.c (revision 37931) |
32 |
++++ libvo/vo_vdpau.c (revision 37932) |
33 |
+@@ -34,6 +34,7 @@ |
34 |
+ |
35 |
+ #include <stdio.h> |
36 |
+ #include <strings.h> |
37 |
++#include <vdpau/vdpau_x11.h> |
38 |
+ |
39 |
+ #include "config.h" |
40 |
+ #include "sub/ass_mp.h" |
41 |
|
42 |
diff --git a/media-video/mplayer/mplayer-1.3.0-r3.ebuild b/media-video/mplayer/mplayer-1.3.0-r3.ebuild |
43 |
index d1900e1ba1d..9283124a63f 100644 |
44 |
--- a/media-video/mplayer/mplayer-1.3.0-r3.ebuild |
45 |
+++ b/media-video/mplayer/mplayer-1.3.0-r3.ebuild |
46 |
@@ -185,6 +185,8 @@ REQUIRED_USE=" |
47 |
xvmc? ( xv )" |
48 |
RESTRICT="faac? ( bindist )" |
49 |
|
50 |
+PATCHES=( "${FILESDIR}/${PN}-1.3-vdpau-x11.patch" ) |
51 |
+ |
52 |
pkg_setup() { |
53 |
if [[ ${PV} == *9999* ]]; then |
54 |
elog |