diff options
Diffstat (limited to 'audio/audacity/files/patch-src_import_Import.cpp')
-rw-r--r-- | audio/audacity/files/patch-src_import_Import.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
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 + { |