]> git.pld-linux.org Git - packages/mpd.git/commitdiff
- rel 4; fixed libcdio build auto/th/mpd-0.17.2-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Feb 2013 21:29:45 +0000 (22:29 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Feb 2013 21:29:45 +0000 (22:29 +0100)
mpd-cdio.patch [new file with mode: 0644]
mpd.spec

diff --git a/mpd-cdio.patch b/mpd-cdio.patch
new file mode 100644 (file)
index 0000000..c10ec51
--- /dev/null
@@ -0,0 +1,15 @@
+--- mpd-0.17.2/src/input/cdio_paranoia_input_plugin.c~ 2012-09-30 12:22:57.000000000 +0200
++++ mpd-0.17.2/src/input/cdio_paranoia_input_plugin.c  2013-02-03 22:28:42.169606736 +0100
+@@ -35,7 +35,12 @@
+ #include <glib.h>
+ #include <assert.h>
++#include <cdio/cdio.h> 
++#if LIBCDIO_VERSION_NUM <= 83
+ #include <cdio/paranoia.h>
++#else
++#include <cdio/paranoia/paranoia.h>
++#endif
+ #include <cdio/cd_types.h>
+ struct input_cdio_paranoia {
index 144cbfa349c99d3259f584bdab8f34866340d61f..270b0444de38e2fea9c988b5d8a5f5b6e142c533 100644 (file)
--- a/mpd.spec
+++ b/mpd.spec
@@ -11,7 +11,7 @@ Summary(hu.UTF-8):    Music Player Daemon
 Summary(pl.UTF-8):     Music Player Daemon - demon odtwarzający muzykę
 Name:          mpd
 Version:       0.17.2
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
@@ -20,6 +20,7 @@ Source1:      %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}.sysconfig
 Source4:       %{name}.tmpfiles
+Patch0:                %{name}-cdio.patch
 URL:           http://www.musicpd.org/
 BuildRequires: OpenAL-devel
 BuildRequires: alsa-lib-devel >= 0.9.0
@@ -123,6 +124,7 @@ Dokumentacja do Music Player Daemon (MPD).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # ac_cv_* hacks to avoid unwanted linking
This page took 0.133475 seconds and 4 git commands to generate.