diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2016-02-02 23:13:07 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2016-02-02 23:13:07 +0000 |
commit | 330ca71a8b04c836fc38e938c465a20cbf60da0b (patch) | |
tree | edf49691e84bdf99421f2de73e2503884702d8fb /audio/audacity/files/patch-src_import_ImportFLAC.cpp | |
parent | misc/cmatrix: document ncurses requirement (USES+=ncurses) (diff) |
Add LV2 OPTION, remove MIDI OPTION, strip binary, fix build on 9.3
PR: 206694
Submitted by: xxjack12xx@gmail.com (maintainer)
MFH: 2016Q1
Diffstat (limited to 'audio/audacity/files/patch-src_import_ImportFLAC.cpp')
-rw-r--r-- | audio/audacity/files/patch-src_import_ImportFLAC.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/audacity/files/patch-src_import_ImportFLAC.cpp b/audio/audacity/files/patch-src_import_ImportFLAC.cpp new file mode 100644 index 000000000000..0673e1e61f54 --- /dev/null +++ b/audio/audacity/files/patch-src_import_ImportFLAC.cpp @@ -0,0 +1,20 @@ +--- src/import/ImportFLAC.cpp.orig 2016-01-08 22:05:48 UTC ++++ src/import/ImportFLAC.cpp +@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open + int cnt; + wxFile binaryFile; + if (!binaryFile.Open(filename)) { +- return false; // File not found ++ return NULL; // File not found + } + + #ifdef USE_LIBID3TAG +@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open + + if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) { + // File is not a FLAC file +- return false; ++ return NULL; + } + + // Open the file for import |