From 36e91d974dcbf8f12384f3fd73de9c36ba44725ab01e87b64995a3294b6983eb Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 24 Apr 2016 22:15:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=90 --- audacity-2.1.1-fix-tempdir.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/audacity-2.1.1-fix-tempdir.patch b/audacity-2.1.1-fix-tempdir.patch index 09167e8..d170787 100644 --- a/audacity-2.1.1-fix-tempdir.patch +++ b/audacity-2.1.1-fix-tempdir.patch @@ -1,11 +1,11 @@ --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -1640,7 +1640,7 @@ bool AudacityApp::CreateSingleInstanceCh - mChecker = new wxSingleInstanceChecker(); - - #if defined(__UNIX__) -- wxString sockFile(defaultTempDir + wxT("/.audacity.sock")); -+ wxString sockFile(dir + wxT("/.audacity.sock")); - #endif - - wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n"); + mChecker = new wxSingleInstanceChecker(); + + #if defined(__UNIX__) +- wxString sockFile(defaultTempDir + wxT("/.audacity.sock")); ++ wxString sockFile(dir + wxT("/.audacity.sock")); + #endif + + wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");