Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
phonon4qt5-backend-vlc
fix-build-with-older-phonon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build-with-older-phonon.patch of Package phonon4qt5-backend-vlc
From: Wolfgang Bauer <wbauer@tmo.at> Date: Mon, 09 May 2016 08:45:47 +0000 Subject: Fix build against older phonon versions X-Git-Url: http://quickgit.kde.org/?p=phonon-vlc.git&a=commitdiff&h=340fd9f9dbbb3b4be7a949bbb7e8f74cded6879c --- Fix build against older phonon versions Commit 4d6bdb0 introduced a new AudioOutput::setMuted() method for Phonon 4.9. While the declaration is conditional in the header file, there is no version check for the implementation. This broke the build with Phonon < 4.8.50. So make the implementation conditional as well, to make phonon-vlc build fine again with older Phonon versions. REVIEW: 127858 --- --- a/src/audio/audiooutput.cpp +++ b/src/audio/audiooutput.cpp @@ -86,6 +86,7 @@ } } +#if (PHONON_VERSION >= PHONON_VERSION_CHECK(4, 8, 50)) void AudioOutput::setMuted(bool mute) { if (mute == m_player->mute()) { @@ -95,6 +96,7 @@ } m_player->setMute(mute); } +#endif int AudioOutput::outputDevice() const {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor