Pascal Bleser 2013-04-15 17:21:40 +00:00 committed by Git OBS Bridge
parent 5a48213a95
commit c41650c802
2 changed files with 14 additions and 0 deletions

View File

@ -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 <QFileInfo>
#include <QDir>
#include <cdio/cdio.h>
-#if LIBCDIO_VERSION_NUM <= 83
+#if LIBCDIO_VERSION_NUM <= 90
#include <cdio/cdda.h>
#else
#include <cdio/paranoia/cdda.h>

View File

@ -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