From a2c5d69385fe0d8c5a666d570f5b464ca302d37d Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 17 Apr 2021 21:02:53 -0700 Subject: audio/audacity: Update 2.4.2 -> 3.0.0 I also changed the default of LADSPA to OFF and LV2 to ON because LV2 is a new generation of LADSPA. PR: 254598 Submitted by: xxjack12xx@gmail.com (maintainer) --- audio/audacity/files/patch-src_import_Import.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 audio/audacity/files/patch-src_import_Import.cpp (limited to 'audio/audacity/files/patch-src_import_Import.cpp') diff --git a/audio/audacity/files/patch-src_import_Import.cpp b/audio/audacity/files/patch-src_import_Import.cpp new file mode 100644 index 000000000000..5e43033c33ee --- /dev/null +++ b/audio/audacity/files/patch-src_import_Import.cpp @@ -0,0 +1,16 @@ +--- src/import/Import.cpp.orig 2021-02-04 18:52:51 UTC ++++ src/import/Import.cpp +@@ -803,9 +803,11 @@ bool Importer::Import( AudacityProject &project, + /* i18n-hint: %s will be the filename */ + "Audacity did not recognize the type of the file '%s'.\n\n%sFor uncompressed files, also try File > Import > Raw Data.") + .Format( fName, ++#if defined(USE_FFMPEG) + !FFmpegLibsInst() +- ? XO("Try installing FFmpeg.\n\n") +- : XO("") ); ++ ? XO("Try installing FFmpeg.\n\n") : ++#endif ++ Verbatim("") ); + } + else + { -- cgit v1.2.3