fix 12.2
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=37
This commit is contained in:
parent
5a48213a95
commit
c41650c802
11
qmmp-fix_cdda_version.patch
Normal file
11
qmmp-fix_cdda_version.patch
Normal 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>
|
@ -32,6 +32,8 @@ Url: http://qmmp.ylsoftware.com/
|
|||||||
Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2
|
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
|
# 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
|
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: cmake
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -124,6 +126,7 @@ Development files for libqmmp.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
|
Loading…
Reference in New Issue
Block a user