audacity: fix gcc6 build

This commit is contained in:
Juergen Buchmueller 2016-10-14 22:25:25 +02:00
parent 4b6ca5abde
commit 0f07141062
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
--- src/import/ImportFLAC.cpp 2016-01-08 23:05:48.000000000 +0100
+++ src/import/ImportFLAC.cpp 2016-10-14 22:19:44.434290227 +0200
@@ -296,7 +296,7 @@
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 @@
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
// File is not a FLAC file
- return false;
+ return NULL;
}
// Open the file for import

View File

@ -1,7 +1,7 @@
# Template file for 'audacity'
pkgname=audacity
version=2.1.2
revision=1
revision=2
wrksrc="${pkgname}-Audacity-${version}"
build_style=gnu-configure
configure_args="--with-libsamplerate"