Date: Sat, 5 Aug 2017 10:56:37 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447398 - head/net/mediatomb Message-ID: <201708051056.v75AubGt075547@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sat Aug 5 10:56:37 2017 New Revision: 447398 URL: https://svnweb.freebsd.org/changeset/ports/447398 Log: Explicitly build with -std=gnu++11. This is a workaround for FreeBSD 10, whose libc++ does not have an overload for C++14's `operator delete(void*, size_t)'. Since GCC 6 uses -std=gnu++14 by default, linking fails when a dependency (such as taglib) is built with clang and lacking the overload. FreeBSD >= 11 is fine. PR: 219489 Approved by: portmgr (blanket approval) Modified: head/net/mediatomb/Makefile Modified: head/net/mediatomb/Makefile ============================================================================== --- head/net/mediatomb/Makefile Sat Aug 5 10:36:04 2017 (r447397) +++ head/net/mediatomb/Makefile Sat Aug 5 10:56:37 2017 (r447398) @@ -23,6 +23,12 @@ CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" USES= compiler:gcc-c++11-lib iconv localbase:ldflags USE_RC_SUBR= mediatomb +# Workaround for FreeBSD 10, whose libc++ does not have an overload for C++14's +# `operator delete(void*, size_t)'. Since GCC 6 uses -std=gnu++14 by default, +# linking fails when a dependency (such as taglib) is built with clang and +# lacking the overload. FreeBSD >= 11 is fine. +USE_CXXSTD= gnu++11 + USERS= mediatomb GROUPS= ${USERS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708051056.v75AubGt075547>