audio/flac: add USES=compiler:c11

This is to fix audio/audacity:
/usr/local/bin/ld: ondemand/audacity-ODDecodeFlacTask.o:(.data.rel.ro._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: ondemand/audacity-ODDecodeFlacTask.o:(.data.rel.ro._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: import/audacity-ImportFLAC.o:(.data.rel.ro._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/bin/ld: import/audacity-ImportFLAC.o:(.data.rel.ro._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

Approved by:	mentors (implicite approval)
This commit is contained in:
Piotr Kubaj
2019-06-11 08:21:42 +00:00
parent ca97f4417a
commit 33b8e400e2
+1 -1
View File
@@ -18,7 +18,7 @@ LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.FDL
LIB_DEPENDS= libogg.so:audio/libogg
USES= iconv libtool pathfix pkgconfig tar:xz
USES= compiler:c11 iconv libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes