summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-03-13 10:13:10 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-03-13 10:18:58 +1100
commit0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1 (patch)
treef9b78f313b0e3eb6815bc092e56bd20827a3f9d9 /media-tv/mythtv
parentdev-python/lazy-object-proxy: Add python3_6 to PYTHON_COMPAT (diff)
downloadgentoo-0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1.tar.gz
gentoo-0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1.tar.bz2
gentoo-0aa8ee4d4cb38a693bdd7c586a6fe888c13df5e1.zip
media-tv/mythtv: add patch to 0.27.6_p20160318-r1 fixing build with libvpx-1.5.0
Gentoo-bug: 600094 Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r--media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch17
-rw-r--r--media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild (renamed from media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild)3
2 files changed, 19 insertions, 1 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
new file mode 100644
index 000000000000..578feaae1b04
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.27.6-libvpx-1.5.0.patch
@@ -0,0 +1,17 @@
+Gentoo-bug: 600094
+
+--- a/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
++++ b/mythtv/external/FFmpeg/libavcodec/libvpxenc.c
+@@ -87,9 +87,9 @@
+
+ /** String mappings for enum vp8e_enc_control_id */
+ static const char *const ctlidstr[] = {
+- [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY",
+- [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
+- [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++// [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY",
++// [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++// [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
+ [VP8E_SET_ROI_MAP] = "VP8E_SET_ROI_MAP",
+ [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
+ [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",
diff --git a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
index 3398c2d376f8..aeefe6f87aab 100644
--- a/media-tv/mythtv/mythtv-0.27.6_p20160318.ebuild
+++ b/media-tv/mythtv/mythtv-0.27.6_p20160318-r1.ebuild
@@ -75,7 +75,7 @@ COMMON="
fftw? ( sci-libs/fftw:3.0= )
hls? (
media-libs/faac:=
- <media-libs/libvpx-1.5.0:=
+ <media-libs/libvpx-1.6.0:=
>=media-libs/x264-0.0.20111220:=
)
ieee1394? (
@@ -158,6 +158,7 @@ src_prepare() {
echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro
epatch "${FILESDIR}/libdir-27.patch"
+ epatch "${FILESDIR}/${PN}-0.27.6-libvpx-1.5.0.patch"
epatch_user
}