summaryrefslogtreecommitdiff
path: root/audio/audacity/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/patches/patch-am')
-rw-r--r--audio/audacity/patches/patch-am10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/audacity/patches/patch-am b/audio/audacity/patches/patch-am
index cc16a6d2616..a717fd2cf1b 100644
--- a/audio/audacity/patches/patch-am
+++ b/audio/audacity/patches/patch-am
@@ -1,12 +1,12 @@
-$NetBSD: patch-am,v 1.6 2015/04/20 13:38:23 rodent Exp $
+$NetBSD: patch-am,v 1.7 2016/06/05 01:02:38 ryoon Exp $
Don't hardcode TMPDIR.
---- src/AudacityApp.cpp.orig 2015-03-02 01:06:58.000000000 +0000
+--- src/AudacityApp.cpp.orig 2016-01-13 14:31:23.000000000 +0000
+++ src/AudacityApp.cpp
-@@ -1096,7 +1096,7 @@ bool AudacityApp::OnInit()
- * The "share" and "share/doc" directories in their install path */
- #ifdef __WXGTK__
+@@ -1182,7 +1182,7 @@ bool AudacityApp::OnInit()
+ wxString home = wxGetHomeDir();
+
/* On Unix systems, the default temp dir is in /var/tmp. */
- defaultTempDir.Printf(wxT("/var/tmp/audacity-%s"), wxGetUserId().c_str());
+ defaultTempDir.Printf(wxT("%s/.audacity1.2-%s"), home.c_str(), wxGetUserId().c_str());