From: Arkadiusz Miśkiewicz Date: Tue, 7 Oct 2014 17:31:26 +0000 (+0200) Subject: - rel 9; fix build with new libcaca X-Git-Tag: auto/th/xine-lib-1.2.3-9 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=9d0a8e525908c2c9d662f05e059d6621a2574728;p=packages%2Fxine-lib.git - rel 9; fix build with new libcaca --- diff --git a/xine-lib-build.patch b/xine-lib-build.patch new file mode 100644 index 0000000..9f0aa8b --- /dev/null +++ b/xine-lib-build.patch @@ -0,0 +1,32 @@ +--- xine-lib-1.2.3/./src/demuxers/demux_mod.c~ 2012-02-05 20:17:02.000000000 +0100 ++++ xine-lib-1.2.3/./src/demuxers/demux_mod.c 2014-10-07 19:13:38.738115012 +0200 +@@ -46,7 +46,7 @@ + #include + #include + #include +-#include "modplug.h" ++#include + #include "bswap.h" + + #define MOD_SAMPLERATE 44100 +--- xine-lib-1.2.3/m4/video_out.m4~ 2013-03-21 18:59:49.000000000 +0100 ++++ xine-lib-1.2.3/m4/video_out.m4 2014-10-07 19:26:40.365551398 +0200 +@@ -77,7 +77,7 @@ + dnl Color AsCii Art + XINE_ARG_WITH([caca], [enable support for CACA]) + if test x"$with_caca" != x"no"; then +- PKG_CHECK_MODULES([CACA], [caca >= 0.99beta14 cucul >= 0.99beta14], [have_caca="yes"], [have_caca="no"]) ++ PKG_CHECK_MODULES([CACA], [caca >= 0.99beta14], [have_caca="yes"], [have_caca="no"]) + if test x"$hard_with_caca" = x"yes" && test x"$have_caca" != x"yes"; then + AC_MSG_ERROR([CACA support requested, but libcaca 0.99 not found]) + fi +--- xine-lib-1.2.3/src/video_out/video_out_caca.c~ 2012-09-05 03:02:12.000000000 +0200 ++++ xine-lib-1.2.3/src/video_out/video_out_caca.c 2014-10-07 19:28:12.671270113 +0200 +@@ -34,7 +34,6 @@ + #include + #include + #include +-#include + #include + + #ifdef HAVE_FFMPEG_AVUTIL_H diff --git a/xine-lib.spec b/xine-lib.spec index 83f4d56..78d282e 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -40,7 +40,7 @@ Summary(pl.UTF-8): Odtwarzacz filmów Summary(pt_BR.UTF-8): Xine, um player de video Name: xine-lib Version: 1.2.3 -Release: 8 +Release: 9 Epoch: 2 License: GPL v2+ Group: Libraries @@ -54,6 +54,7 @@ Patch3: %{name}-ac.patch Patch4: %{name}-vdpau-hooks.patch Patch5: %{name}-missing.patch Patch6: smbclient.patch +Patch7: %{name}-build.patch URL: http://xine.sourceforge.net/ %{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.22} %{?with_fusionsound:BuildRequires: FusionSound-devel >= 0.9.23} @@ -954,6 +955,7 @@ XINE - wtyczka postprocessingu oparta na libpostproc z pakietu FFmpeg. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build %{__gettextize}