SHA256
1
0
forked from pool/qmmp
Alexei Sorokin 2017-06-03 16:06:12 +00:00 committed by Git OBS Bridge
parent 00a6c86a2e
commit 6a89636791
3 changed files with 44 additions and 0 deletions

40
qmmp-fix-openmpt.patch Normal file
View File

@ -0,0 +1,40 @@
--- a/src/plugins/Input/modplug/decoder_modplug.cpp
+++ b/src/plugins/Input/modplug/decoder_modplug.cpp
@@ -29,7 +29,6 @@
#include <QSettings>
#include <math.h>
#include <libmodplug/stdafx.h>
-#include <libmodplug/it_defs.h>
#include <libmodplug/sndfile.h>
#include <qmmp/buffer.h>
#include <qmmp/output.h>
--- a/src/plugins/Input/modplug/decodermodplugfactory.cpp
+++ b/src/plugins/Input/modplug/decodermodplugfactory.cpp
@@ -25,7 +25,6 @@
#include <QStringList>
#include <QRegExp>
#include <libmodplug/stdafx.h>
-#include <libmodplug/it_defs.h>
#include <libmodplug/sndfile.h>
#include "settingsdialog.h"
#include "modplugmetadatamodel.h"
--- a/src/plugins/Input/modplug/modplugmetadatamodel.cpp
+++ b/src/plugins/Input/modplug/modplugmetadatamodel.cpp
@@ -21,7 +21,6 @@
#include <QFile>
#include <stdint.h>
#include <libmodplug/stdafx.h>
-#include <libmodplug/it_defs.h>
#include <libmodplug/sndfile.h>
#include <libmodplug/modplug.h>
#include "archivereader.h"
--- a/src/plugins/Input/modplug/settingsdialog.cpp
+++ b/src/plugins/Input/modplug/settingsdialog.cpp
@@ -22,7 +22,6 @@
#include <QDir>
#include <libmodplug/stdafx.h>
-#include <libmodplug/it_defs.h>
#include <libmodplug/sndfile.h>
#include "decoder_modplug.h"

View File

@ -15,6 +15,7 @@ Sat Jun 3 11:48:21 UTC 2017 - sor.alexei@meowr.ru
* Update French and Russian translations.
- Enable building with libmad for newer openSUSE releases even
outside of Packman.
- Add qmmp-fix-openmpt.patch: fix OpenMPT compatibility.
-------------------------------------------------------------------
Thu Mar 23 11:55:35 UTC 2017 - sor.alexei@meowr.ru

View File

@ -34,6 +34,8 @@ Patch0: %{name}-fix_cdda_version.patch
Patch1: %{name}-default-pulse.patch
# PATCH-FIX-OPENSUSE qmmp-taglib-1.9.patch -- Extend TagLib support to 1.9.
Patch2: %{name}-taglib-1.9.patch
# PATCH-FIX-OPENSUSE qmmp-fix-openmpt.patch -- Fix OpenMPT compatibility.
Patch3: %{name}-fix-openmpt.patch
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@ -143,6 +145,7 @@ Development files for libqmmp.
%patch0
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%cmake \