summaryrefslogtreecommitdiff
path: root/audio/audacity/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/patches/patch-aa')
-rw-r--r--audio/audacity/patches/patch-aa27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/audacity/patches/patch-aa b/audio/audacity/patches/patch-aa
new file mode 100644
index 00000000000..d9aa2e21b0e
--- /dev/null
+++ b/audio/audacity/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/17 19:13:52 drochner Exp $
+
+--- WaveTrack.cpp.orig Fri Jun 15 13:36:03 2001
++++ WaveTrack.cpp Fri Jun 15 13:37:40 2001
+@@ -848,7 +848,9 @@
+ numSamples = 0;
+ block->Clear();
+
+- blockMutex->Unlock();
++#if wxUSE_THREADS
++ blockMutex->Unlock();
++#endif
+
+ wxString msg;
+ msg.Printf("The file named \"%s\" is missing from the project.",
+@@ -861,8 +863,10 @@
+ block->Add(w);
+ }
+
++#if wxUSE_THREADS
+ blockMutex->Unlock();
+-
++#endif
++
+ return true;
+
+ readWaveTrackError: