freebsd-ports/audio/audacity/files/patch-src_BatchCommands.cpp
Thomas Zander d9914c72a6 Fix build failure when accidentally picking up alsa (libasound).
Currently, there is no configure switch for consistently disabling
alsa detection. This changeset introduces the possibility to do so
during the configure stage and adds ALSA as a non-default OPTION.

PR:		207892
Submitted by:	tatsuki_makino@hotmail.com
Reported by:	bar
Reviewed by:	xxjack12xx@gmail.com, riggs
Approved by:	xxjack12xx@gmail.com (maintainer)
2016-03-23 20:42:41 +00:00

11 lines
541 B
C++

--- src/BatchCommands.cpp.orig 2016-01-08 22:05:48 UTC
+++ src/BatchCommands.cpp
@@ -151,7 +151,7 @@ bool BatchCommands::ReadChain(const wxSt
else if (cmd == wxT("ExportWav"))
cmd = wxT("ExportWAV");
else if (cmd == wxT("Compressor") && (parm.find(wxT("DecayTime")) != parm.npos))
- parm.Replace(wxT("DecayTime"), wxT("ReleaseTime"), NULL); // 2.0.6
+ parm.Replace(wxT("DecayTime"), wxT("ReleaseTime"), false); // 2.0.6
// Add to lists
mCommandChain.Add(cmd);