diff options
author | Diane Bruce <db@FreeBSD.org> | 2016-02-26 02:40:00 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2016-02-26 02:40:00 +0000 |
commit | 709d955fbdadd063fd3f69f6eb30aa296e524476 (patch) | |
tree | 1c429ddb99f0e89f8fffea26d13cb9c639435a10 /audio | |
parent | bc3fee81899436cc73a8c046aacb94ad1685b720 (diff) | |
download | ports-709d955fbdadd063fd3f69f6eb30aa296e524476.tar.gz ports-709d955fbdadd063fd3f69f6eb30aa296e524476.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/dream/files/patch-src_GUI-QT_LiveScheduleDlg.h | 11 | ||||
-rw-r--r-- | audio/dream/files/patch-src_matlib_MatlibStdToolbox.cpp | 29 |
2 files changed, 40 insertions, 0 deletions
diff --git a/audio/dream/files/patch-src_GUI-QT_LiveScheduleDlg.h b/audio/dream/files/patch-src_GUI-QT_LiveScheduleDlg.h new file mode 100644 index 000000000000..a4c6f2d97cb2 --- /dev/null +++ b/audio/dream/files/patch-src_GUI-QT_LiveScheduleDlg.h @@ -0,0 +1,11 @@ +--- src/GUI-QT/LiveScheduleDlg.h.orig 2013-11-11 16:33:43 UTC ++++ src/GUI-QT/LiveScheduleDlg.h +@@ -26,7 +26,7 @@ + \******************************************************************************/ + + #ifndef __LiveScheduleDlg_H +-#define LiveScheduleDlg_H ++#define __LiveScheduleDlg_H + + #include "ui_LiveScheduleWindow.h" + #include "CWindow.h" diff --git a/audio/dream/files/patch-src_matlib_MatlibStdToolbox.cpp b/audio/dream/files/patch-src_matlib_MatlibStdToolbox.cpp new file mode 100644 index 000000000000..54051f487325 --- /dev/null +++ b/audio/dream/files/patch-src_matlib_MatlibStdToolbox.cpp @@ -0,0 +1,29 @@ +--- src/matlib/MatlibStdToolbox.cpp.orig 2016-02-26 02:12:16 UTC ++++ src/matlib/MatlibStdToolbox.cpp +@@ -28,11 +28,11 @@ + #include "MatlibStdToolbox.h" + #include "../GlobalDefinitions.h" + +-/* The mutex need to be application wide, ++/* The dream_mutex need to be application wide, + only the execution routines are thread-safe */ +-static CMutex* mutex = NULL; +-#define MUTEX_LOCK() mutex->Lock() +-#define MUTEX_UNLOCK() mutex->Unlock() ++static CMutex* dream_mutex = NULL; ++#define MUTEX_LOCK() dream_mutex->Lock() ++#define MUTEX_UNLOCK() dream_mutex->Unlock() + + # define PLANNER_FLAGS (FFTW_ESTIMATE | FFTW_DESTROY_INPUT) + /* Warning: for testing purpose only */ +@@ -669,8 +669,8 @@ CFftPlans::CFftPlans(const int iFftSize) + bInitialized(FALSE), bFixedSizeInit(FALSE), fftw_n(0) + { + /* Static initialization of CMutex not working on Mac OS X */ +- if (!mutex) +- mutex = new CMutex(); ++ if (!dream_mutex) ++ dream_mutex = new CMutex(); + + /* If iFftSize is non zero then proceed to initialization */ + if (iFftSize) |