diff --git a/audacity-2.1.1-fix-tempdir.patch b/audacity-2.1.1-fix-tempdir.patch deleted file mode 100644 index d170787..0000000 --- a/audacity-2.1.1-fix-tempdir.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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"); diff --git a/audacity-ffmpeg.patch b/audacity-ffmpeg.patch index 870f494..0c20745 100644 --- a/audacity-ffmpeg.patch +++ b/audacity-ffmpeg.patch @@ -1,6 +1,8 @@ ---- src/FFmpeg.h.orig 2015-03-03 20:56:22.816742627 +0100 -+++ src/FFmpeg.h 2015-03-03 20:56:22.851741975 +0100 -@@ -688,7 +688,7 @@ +Index: src/FFmpeg.h +=================================================================== +--- src/FFmpeg.h.orig ++++ src/FFmpeg.h +@@ -689,7 +689,7 @@ extern "C" { FFMPEG_FUNCTION_WITH_RETURN( AVOutputFormat*, av_oformat_next, @@ -9,7 +11,7 @@ (f) ); FFMPEG_FUNCTION_WITH_RETURN( -@@ -755,7 +755,7 @@ +@@ -756,7 +756,7 @@ extern "C" { FFMPEG_FUNCTION_WITH_RETURN( int, av_fifo_size, @@ -18,7 +20,7 @@ (f) ); FFMPEG_FUNCTION_WITH_RETURN( -@@ -801,7 +801,7 @@ +@@ -802,7 +802,7 @@ extern "C" { FFMPEG_FUNCTION_WITH_RETURN( AVDictionaryEntry *, av_dict_get, diff --git a/audacity-gcc6.patch b/audacity-gcc6.patch index 11fd3d2..e823ac0 100644 --- a/audacity-gcc6.patch +++ b/audacity-gcc6.patch @@ -1,7 +1,8 @@ -diff -r -u /tmp/audacity-minsrc-2.1.1/src/effects/vamp/LoadVamp.cpp audacity-minsrc-2.1.1/src/effects/vamp/LoadVamp.cpp ---- audacity-minsrc-2.1.1/src/effects/vamp/LoadVamp.cpp 2015-07-10 19:35:40.000000000 +0200 -+++ audacity-minsrc-2.1.1/src/effects/vamp/LoadVamp.cpp 2016-06-17 11:18:54.897140407 +0200 -@@ -266,7 +266,7 @@ +Index: src/effects/vamp/LoadVamp.cpp +=================================================================== +--- src/effects/vamp/LoadVamp.cpp.orig ++++ src/effects/vamp/LoadVamp.cpp +@@ -266,7 +266,7 @@ Plugin *VampEffectsModule::FindPlugin(co Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here if (!vp) { @@ -10,10 +11,11 @@ diff -r -u /tmp/audacity-minsrc-2.1.1/src/effects/vamp/LoadVamp.cpp audacity-min } // We limit the listed plugin outputs to those whose results can -diff -r -u /tmp/audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp ---- audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp 2015-07-10 19:35:40.000000000 +0200 -+++ audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp 2016-06-17 11:17:46.555821274 +0200 -@@ -296,7 +296,7 @@ +Index: src/import/ImportFLAC.cpp +=================================================================== +--- src/import/ImportFLAC.cpp.orig ++++ src/import/ImportFLAC.cpp +@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open int cnt; wxFile binaryFile; if (!binaryFile.Open(filename)) { @@ -22,7 +24,7 @@ diff -r -u /tmp/audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp audacity-minsrc- } #ifdef USE_LIBID3TAG -@@ -313,7 +313,7 @@ +@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) { // File is not a FLAC file @@ -31,33 +33,3 @@ diff -r -u /tmp/audacity-minsrc-2.1.1/src/import/ImportFLAC.cpp audacity-minsrc- } // Open the file for import -diff -r -u /tmp/audacity-minsrc-2.1.1/src/WaveTrack.cpp audacity-minsrc-2.1.1/src/WaveTrack.cpp ---- audacity-minsrc-2.1.1/src/WaveTrack.cpp 2015-07-10 19:35:40.000000000 +0200 -+++ audacity-minsrc-2.1.1/src/WaveTrack.cpp 2016-06-17 11:17:12.099156221 +0200 -@@ -2561,7 +2561,7 @@ - const sampleCount len0 = mPTrack->GetBestBlockSize(start0); - wxASSERT(len0 <= mBufferSize); - if (!mPTrack->Get(samplePtr(mBuffers[0].data), floatSample, start0, len0)) -- return false; -+ return 0; - mBuffers[0].start = start0; - mBuffers[0].len = len0; - if (!fillSecond && -@@ -2587,7 +2587,7 @@ - const sampleCount len1 = mPTrack->GetBestBlockSize(start1); - wxASSERT(len1 <= mBufferSize); - if (!mPTrack->Get(samplePtr(mBuffers[1].data), floatSample, start1, len1)) -- return false; -+ return 0; - mBuffers[1].start = start1; - mBuffers[1].len = len1; - mNValidBuffers = 2; -@@ -2637,7 +2637,7 @@ - // Very big request! - // Fall back to direct fetch - if (!mPTrack->Get(buffer, format, start, remaining)) -- return false; -+ return 0; - } - - return mOverlapBuffer.ptr(); diff --git a/audacity-minsrc-2.1.1.tar.xz b/audacity-minsrc-2.1.1.tar.xz deleted file mode 100644 index 4435ae7..0000000 --- a/audacity-minsrc-2.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49972a1e84d1747590dfba06cbbf1030718f3880d2678819dc2e765828377872 -size 7154008 diff --git a/audacity-minsrc-2.1.2.tar.xz b/audacity-minsrc-2.1.2.tar.xz new file mode 100644 index 0000000..e4e0019 --- /dev/null +++ b/audacity-minsrc-2.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0df79fe0647a4cd68e46ad40d6e73d2f8eaae413b6d8b186ac036be3554d7e44 +size 7233500 diff --git a/audacity-no_buildstamp.patch b/audacity-no_buildstamp.patch index 65141b3..8d46155 100644 --- a/audacity-no_buildstamp.patch +++ b/audacity-no_buildstamp.patch @@ -1,7 +1,7 @@ Index: lib-src/portaudio-v19/src/common/pa_front.c =================================================================== ---- a/lib-src/portaudio-v19/src/common/pa_front.c -+++ b/lib-src/portaudio-v19/src/common/pa_front.c +--- lib-src/portaudio-v19/src/common/pa_front.c.orig ++++ lib-src/portaudio-v19/src/common/pa_front.c @@ -78,7 +78,7 @@ @@ -13,9 +13,9 @@ Index: lib-src/portaudio-v19/src/common/pa_front.c Index: src/AboutDialog.cpp =================================================================== ---- a/src/AboutDialog.cpp -+++ b/src/AboutDialog.cpp -@@ -523,9 +523,6 @@ +--- src/AboutDialog.cpp.orig ++++ src/AboutDialog.cpp +@@ -520,9 +520,6 @@ void AboutDialog::PopulateInformationPag informationStr += _("Build Information"); informationStr += wxT("\n