Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434734 Details for
Bug 583512
media-sound/drumstick-1.0.2: fails to build with gcc-6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from https://sourceforge.net/p/drumstick/patches/3/
drumstick-1.0.2-gcc6.patch (text/plain), 1.85 KB, created by
David Kredba
on 2016-05-19 18:35:45 UTC
(
hide
)
Description:
Patch from https://sourceforge.net/p/drumstick/patches/3/
Filename:
MIME Type:
Creator:
David Kredba
Created:
2016-05-19 18:35:45 UTC
Size:
1.85 KB
patch
obsolete
>Index: library/file/qove.cpp >=================================================================== >--- library/file/qove.cpp (revision 316) >+++ library/file/qove.cpp (working copy) >@@ -11356,7 +11356,7 @@ > OVE::MeasureData* measureData = d->ove.getMeasureData(i, j, k); > QList<OVE::MusicData*> tempoPtrs = measureData->getMusicDatas(OVE::MusicData_Tempo); > >- if (k == 0 || (k > 0 && abs(measure->getTypeTempo() - d->ove.getMeasure(k - 1)->getTypeTempo()) > 0.01)) { >+ if (k == 0 || (k > 0 && std::abs(measure->getTypeTempo() - d->ove.getMeasure(k - 1)->getTypeTempo()) > 0.01)) { > int tick = d->mtt.getTick(k, 0); > int tempo = (int) measure->getTypeTempo(); > tempos[tick] = tempo; >@@ -11739,7 +11739,7 @@ > } > case OVE::Articulation_Arpeggio: { > //if( art->getChangeSoundEffect() ) { >- unsigned int soundEffect = abs(art->getSoundEffect().first) + abs(art->getSoundEffect().second); >+ unsigned int soundEffect = std::abs(art->getSoundEffect().first) + std::abs(art->getSoundEffect().second); > int tickAmount = (soundEffect / notes.size()) * ((notes.size() - i) - 1); > startTick -= tickAmount; > //} >Index: utils/testevents/testevents.cpp >=================================================================== >--- utils/testevents/testevents.cpp (revision 316) >+++ utils/testevents/testevents.cpp (working copy) >@@ -262,7 +262,7 @@ > dumpEvent(new KeyPressEvent(5, 60, 124)); > dumpEvent(new ChanPressEvent(6, 111)); > dumpEvent(new PitchBendEvent(7, 1234)); >- char sysex[] = {0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, 0xf7}; >+ char sysex[] = {'\xf0', '\x41', '\x10', '\x42', '\x12', '\x40', '\0', '\x7f', '\0', '\x41', '\xf7'}; > dumpEvent(new SysExEvent(QByteArray(sysex, sizeof(sysex)))); > QString text = "This can be a copyright, song name, instrument, lyric..."; > TextEvent te(text, 3);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 583512
:
434734