From owner-svn-ports-head@freebsd.org Tue Nov 27 16:21:01 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0046115280F; Tue, 27 Nov 2018 16:21:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87E3983F91; Tue, 27 Nov 2018 16:21:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6AAD71DC16; Tue, 27 Nov 2018 16:21:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wARGL1kA025326; Tue, 27 Nov 2018 16:21:01 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wARGL1CC025325; Tue, 27 Nov 2018 16:21:01 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811271621.wARGL1CC025325@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 27 Nov 2018 16:21:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486020 - head/net/mediastreamer X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/net/mediastreamer X-SVN-Commit-Revision: 486020 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 87E3983F91 X-Spamd-Result: default: False [1.15 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.47)[0.465,0]; NEURAL_SPAM_SHORT(0.04)[0.038,0]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 16:21:02 -0000 Author: linimon Date: Tue Nov 27 16:21:00 2018 New Revision: 486020 URL: https://svnweb.freebsd.org/changeset/ports/486020 Log: -Wno-format-truncation is not supported by base GCC and needs to be removed to successfully build on architectures that use GCC in base. PR: 233541 Submitted by: Piotr Kubaj Modified: head/net/mediastreamer/Makefile Modified: head/net/mediastreamer/Makefile ============================================================================== --- head/net/mediastreamer/Makefile Tue Nov 27 16:19:25 2018 (r486019) +++ head/net/mediastreamer/Makefile Tue Nov 27 16:21:00 2018 (r486020) @@ -19,7 +19,7 @@ LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \ libsrtp2.so:net/libsrtp2 \ libbzrtp.so:security/bzrtp -USES= cmake:outsource python:build +USES= cmake:outsource compiler python:build USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_ALSA=NO -DENABLE_BV16=NO -DENABLE_DOC=NO \ @@ -87,8 +87,13 @@ XVIDEO_IMPLIES= VIDEO XVIDEO_CMAKE_BOOL= ENABLE_X11 ENABLE_XV XVIDEO_USE= XORG=xorgproto,x11,xv +.include + post-patch: @${REINPLACE_CMD} 's,gsm/gsm\.h,gsm.h,' \ ${WRKSRC}/cmake/FindGSM.cmake ${WRKSRC}/src/audiofilters/gsm.c +.if ${CHOSEN_COMPILER_TYPE} == gcc + @${REINPLACE_CMD} '/-Wno-format-truncation/d' ${WRKSRC}/CMakeLists.txt +.endif -.include +.include