Accepting request 403792 from home:plater
Fix gcc6 build OBS-URL: https://build.opensuse.org/request/show/403792 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=68
This commit is contained in:
parent
3185788087
commit
c6890e2b9e
12
rosegarden-16.02-gcc6.patch
Normal file
12
rosegarden-16.02-gcc6.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nurp rosegarden-16.02.orig/src/gui/dialogs/PitchBendSequenceDialog.cpp rosegarden-16.02.mod/src/gui/dialogs/PitchBendSequenceDialog.cpp
|
||||||
|
--- src/gui/dialogs/PitchBendSequenceDialog.cpp 2016-02-29 13:18:01.000000000 +0100
|
||||||
|
+++ src/gui/dialogs/PitchBendSequenceDialog.cpp 2016-04-25 07:30:49.578374291 +0200
|
||||||
|
@@ -919,7 +919,7 @@ PitchBendSequenceDialog::addStepwiseEven
|
||||||
|
{
|
||||||
|
const int rawStepSize = spinboxToControlDelta(m_stepSize);
|
||||||
|
if (rawStepSize == 0) { return; }
|
||||||
|
- numSteps = abs(float(valueChange) / float(rawStepSize) + 0.5);
|
||||||
|
+ numSteps = fabs(float(valueChange) / float(rawStepSize) + 0.5);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 21 06:34:51 UTC 2016 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Added upstream rosegarden-16.02-gcc6.patch to fix gcc6 build see
|
||||||
|
boo#985242
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 21 09:57:14 UTC 2016 - davejplater@gmail.com
|
Mon Mar 21 09:57:14 UTC 2016 - davejplater@gmail.com
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Source2: %{name}.1
|
|||||||
# This patch fixes the file search paths for examples, templates and midi driver libraries.
|
# This patch fixes the file search paths for examples, templates and midi driver libraries.
|
||||||
Patch1: rosegarden-10.10-filepaths.patch
|
Patch1: rosegarden-10.10-filepaths.patch
|
||||||
Patch2: rosegarden-14.02-fix-bashisms.patch
|
Patch2: rosegarden-14.02-fix-bashisms.patch
|
||||||
|
Patch3: rosegarden-16.02-gcc6.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: cmake >= 2.8.12
|
BuildRequires: cmake >= 2.8.12
|
||||||
BuildRequires: dssi-devel
|
BuildRequires: dssi-devel
|
||||||
@ -93,6 +94,7 @@ See the changelog for details.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3
|
||||||
# When we build svn we need to execute bootstrap.sh
|
# When we build svn we need to execute bootstrap.sh
|
||||||
#sh bootstrap.sh
|
#sh bootstrap.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user