pkgsrc/audio/audacity/patches/patch-am
2008-03-20 15:58:47 +00:00

13 lines
649 B
Text

$NetBSD: patch-am,v 1.5 2008/03/20 15:58:47 drochner Exp $
--- src/AudacityApp.cpp.orig 2006-11-15 05:12:11.000000000 +0100
+++ src/AudacityApp.cpp
@@ -391,7 +391,7 @@ bool AudacityApp::OnInit()
// * The user's .audacity-files directory in their home directory
// * The "share" and "share/doc" directories in their install path
#ifdef __WXGTK__
- defaultTempDir.Printf("/tmp/audacity1.2-%s", wxGetUserId().c_str());
+ defaultTempDir.Printf("%s/.audacity1.2-%s", home.c_str(), wxGetUserId().c_str());
wxString pathVar = wxGetenv("AUDACITY_PATH");
if (pathVar != "")
AddMultiPathsToPathList(pathVar, audacityPathList);