From 33b8e400e2a25bc974a5b2d032544d9dc577eeba Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 11 Jun 2019 08:21:42 +0000 Subject: [PATCH] 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, std::allocator > 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, std::allocator > 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, std::allocator > 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, std::allocator > const&)' Approved by: mentors (implicite approval) --- audio/flac/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/flac/Makefile b/audio/flac/Makefile index cf90af0731cd..ad0d5a43e3ba 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -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