diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/mixxx/files/patch-src_soundmanager.cpp | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/mixxx/files/patch-src_soundmanager.cpp')
-rw-r--r-- | audio/mixxx/files/patch-src_soundmanager.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_soundmanager.cpp b/audio/mixxx/files/patch-src_soundmanager.cpp new file mode 100644 index 000000000000..626f63cb0d0b --- /dev/null +++ b/audio/mixxx/files/patch-src_soundmanager.cpp @@ -0,0 +1,23 @@ +--- src/soundmanager.cpp.orig 2013-05-08 23:20:26 UTC ++++ src/soundmanager.cpp +@@ -234,7 +234,7 @@ void SoundManager::queryDevices() { + #ifdef __PORTAUDIO__ + PaError err = paNoError; + if (!m_paInitialized) { +-#ifdef Q_OS_LINUX ++#if defined(__BSD__) || defined(Q_OS_LINUX) + setJACKName(); + #endif + err = Pa_Initialize(); +@@ -626,9 +626,9 @@ QList<AudioInput> SoundManager::register + + void SoundManager::setJACKName() const { + #ifdef __PORTAUDIO__ +-#ifdef Q_OS_LINUX ++#if defined(__BSD__) || defined(Q_OS_LINUX) + typedef PaError (*SetJackClientName)(const char *name); +- QLibrary portaudio("libportaudio.so.2"); ++ QLibrary portaudio("libportaudio.so"); + if (portaudio.load()) { + SetJackClientName func( + reinterpret_cast<SetJackClientName>( |