summaryrefslogtreecommitdiff
path: root/audio/audacity/files/patch-src_import_Import.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-17 21:02:53 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-17 21:06:08 -0700
commita2c5d69385fe0d8c5a666d570f5b464ca302d37d (patch)
tree7b4b6fa35dbe9f08c7f28e6e2aa0d58d6abf77f1 /audio/audacity/files/patch-src_import_Import.cpp
parentscience/py-nilearn: Update 0.7.0 -> 0.7.1 (diff)
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)
Diffstat (limited to 'audio/audacity/files/patch-src_import_Import.cpp')
-rw-r--r--audio/audacity/files/patch-src_import_Import.cpp16
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
+ {