diff --git a/mpv-format-security.patch b/mpv-format-security.patch new file mode 100644 index 0000000..0aa6ade --- /dev/null +++ b/mpv-format-security.patch @@ -0,0 +1,13 @@ +diff --git a/stream/stream_radio.c b/stream/stream_radio.c +index d233739..19c536d 100644 +--- a/stream/stream_radio.c ++++ b/stream/stream_radio.c +@@ -858,7 +858,7 @@ static int open_s(stream_t *stream,int mode) + mp_msg(MSGT_RADIO,MSGL_V,"\n"); + + if(priv->driver) +- mp_msg(MSGT_RADIO, MSGL_INFO, priv->driver->info); ++ mp_msg(MSGT_RADIO, MSGL_INFO, "%s",priv->driver->info); + else{ + mp_tmsg(MSGT_RADIO, MSGL_INFO, "[radio] Unknown driver name: %s\n",priv->radio_param->driver); + close_s(stream); diff --git a/mpv.spec b/mpv.spec index 92cbf2c..7669051 100644 --- a/mpv.spec +++ b/mpv.spec @@ -1,6 +1,6 @@ Name: mpv Version: 0.2.4 -Release: 6%{?dist} +Release: 8%{?dist} Summary: Movie player playing most video formats and DVDs License: GPLv2+ URL: http://%{name}.io/ @@ -10,6 +10,9 @@ Source1: %{name}.desktop # set defaults for Fedora Patch0: %{name}-config.patch +# https://github.com/mpv-player/mpv/pull/422 +Patch1: %{name}-format-security.patch + BuildRequires: aalib-devel BuildRequires: alsa-lib-devel BuildRequires: bzip2-devel @@ -23,14 +26,20 @@ BuildRequires: libXv-devel BuildRequires: libass-devel BuildRequires: libbluray-devel BuildRequires: libdvdnav-devel +BuildRequires: libguess-devel BuildRequires: libquvi-devel BuildRequires: libsmbclient-devel BuildRequires: libva-devel BuildRequires: libvdpau-devel +BuildRequires: libwayland-client-devel +BuildRequires: libwayland-cursor-devel +BuildRequires: libwayland-server-devel +BuildRequires: libxkbcommon-devel BuildRequires: lirc-devel BuildRequires: lua-devel BuildRequires: pulseaudio-libs-devel BuildRequires: python-docutils +BuildRequires: wayland-devel Requires: hicolor-icon-theme @@ -44,6 +53,7 @@ output methods are supported. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build ./configure \ @@ -102,6 +112,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/input.conf %changelog +* Sun Dec 22 2013 Miro Hrončok - 0.2.4-8 +- Added patch for https://fedoraproject.org/wiki/Changes/FormatSecurity + +* Sun Dec 22 2013 Miro Hrončok - 0.2.4-7 +- Support wayland + * Sun Dec 22 2013 Miro Hrončok - 0.2.4-6 - Rebuilt