Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2019 08:21:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503942 - head/audio/flac
Message-ID:  <201906110821.x5B8Lhbh022735@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jun 11 08:21:42 2019
New Revision: 503942
URL: https://svnweb.freebsd.org/changeset/ports/503942

Log:
  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)

Modified:
  head/audio/flac/Makefile

Modified: head/audio/flac/Makefile
==============================================================================
--- head/audio/flac/Makefile	Tue Jun 11 08:08:31 2019	(r503941)
+++ head/audio/flac/Makefile	Tue Jun 11 08:21:42 2019	(r503942)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906110821.x5B8Lhbh022735>