diff --git a/muse-missing-includes.patch b/muse-missing-includes.patch new file mode 100644 index 0000000..701a62c --- /dev/null +++ b/muse-missing-includes.patch @@ -0,0 +1,23 @@ +diff -rupN muse-3.0.2.org/muse/mplugins/mitplugin.cpp muse-3.0.2/muse/mplugins/mitplugin.cpp +--- muse-3.0.2.org/muse/mplugins/mitplugin.cpp 2017-12-04 16:01:18.000000000 -0500 ++++ muse-3.0.2/muse/mplugins/mitplugin.cpp 2018-05-28 11:44:09.880741367 -0400 +@@ -21,6 +21,8 @@ + // + //========================================================= + ++#include ++ + #include "mitplugin.h" + #include "app.h" + #include "event.h" +diff -rupN muse-3.0.2.org/muse/widgets/genset.cpp muse-3.0.2/muse/widgets/genset.cpp +--- muse-3.0.2.org/muse/widgets/genset.cpp 2018-01-22 11:43:28.000000000 -0500 ++++ muse-3.0.2/muse/widgets/genset.cpp 2018-05-28 11:26:05.656917314 -0400 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include "genset.h" + #include "app.h" diff --git a/muse.spec b/muse.spec index 2ff315b..34c12b9 100644 --- a/muse.spec +++ b/muse.spec @@ -11,7 +11,7 @@ Summary: Midi/Audio Music Sequencer # See: https://fedoraproject.org/wiki/AudioCreation Epoch: 1 Version: 3.0.2 -Release: 2%{?dist} +Release: 3%{?dist} # original freeverb plugin was public domain # givertcap (not built) is GPLv2 # The rest, including the core of muse is distributed under GPLv2+ @@ -19,6 +19,9 @@ License: Public Domain and GPLv2 and GPLv2+ and LGPLv2+ Group: Applications/Multimedia URL: http://www.muse-sequencer.org/ Source0: https://downloads.sourceforge.net/project/lmuse/%{name}-%{maj}/%{name}-%{version}.tar.gz +# FTBFS fix RHBZ#1583068 - fixed upstream +# https://github.com/muse-sequencer/muse/commit/02d9dc6abd +Patch0: muse-missing-includes.patch BuildRequires: alsa-lib-devel BuildRequires: cmake @@ -56,6 +59,7 @@ for Linux. %prep %setup -q +%patch0 -p1 -b .includes %build export CMAKE_CXX_FLAGS="-D_GNU_SOURCE" @@ -92,6 +96,9 @@ appstream-util validate-relax --nonet \ %{_datadir}/metainfo/%{name}.appdata.xml %changelog +* Mon May 28 2018 Orcan Ogetbil - 1:3.0.2-3 +- Fix FTBFS RHBZ#1583068 + * Thu Feb 08 2018 Fedora Release Engineering - 1:3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild