From c41650c802566617763ff05e795fa1b142ef8523dfd6e6d0ca1345d59dae16e7 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Mon, 15 Apr 2013 17:21:40 +0000 Subject: [PATCH] fix 12.2 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=37 --- qmmp-fix_cdda_version.patch | 11 +++++++++++ qmmp.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 qmmp-fix_cdda_version.patch diff --git a/qmmp-fix_cdda_version.patch b/qmmp-fix_cdda_version.patch new file mode 100644 index 0000000..871ee27 --- /dev/null +++ b/qmmp-fix_cdda_version.patch @@ -0,0 +1,11 @@ +--- src/plugins/Input/cdaudio/decoder_cdaudio.cpp.orig 2013-04-15 18:59:58.252555786 +0200 ++++ src/plugins/Input/cdaudio/decoder_cdaudio.cpp 2013-04-15 19:02:19.299842731 +0200 +@@ -25,7 +25,7 @@ + #include + #include + #include +-#if LIBCDIO_VERSION_NUM <= 83 ++#if LIBCDIO_VERSION_NUM <= 90 + #include + #else + #include diff --git a/qmmp.spec b/qmmp.spec index 124f609..55b8398 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -32,6 +32,8 @@ Url: http://qmmp.ylsoftware.com/ Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE qmmp-0.6.1-default_pulse.patch reddwarf@opensuse.org -- Use PulseAudio instead of ALSA by default Patch0: qmmp-0.6.1-default_pulse.patch +# PATCH-FIX-UPSTREAM qmmp-fix_cdda_version.patch pascal.bleser@opensuse.org -- Fix header detection for cdparanoia cdda.h +Patch1: qmmp-fix_cdda_version.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ @@ -124,6 +126,7 @@ Development files for libqmmp. %prep %setup -q %patch0 +%patch1 %build mkdir build