From owner-svn-ports-head@freebsd.org Thu May 24 03:22:46 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 50446EF862E; Thu, 24 May 2018 03:22:46 +0000 (UTC) (envelope-from stephen@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 F346F6F296; Thu, 24 May 2018 03:22:45 +0000 (UTC) (envelope-from stephen@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 D3B774A14; Thu, 24 May 2018 03:22:45 +0000 (UTC) (envelope-from stephen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4O3Mjxl069949; Thu, 24 May 2018 03:22:45 GMT (envelope-from stephen@FreeBSD.org) Received: (from stephen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4O3MjoR069947; Thu, 24 May 2018 03:22:45 GMT (envelope-from stephen@FreeBSD.org) Message-Id: <201805240322.w4O3MjoR069947@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: stephen set sender to stephen@FreeBSD.org using -f From: Stephen Montgomery-Smith Date: Thu, 24 May 2018 03:22:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470756 - in head/math/octave-forge-octclip: . files X-SVN-Group: ports-head X-SVN-Commit-Author: stephen X-SVN-Commit-Paths: in head/math/octave-forge-octclip: . files X-SVN-Commit-Revision: 470756 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 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: Thu, 24 May 2018 03:22:46 -0000 Author: stephen Date: Thu May 24 03:22:45 2018 New Revision: 470756 URL: https://svnweb.freebsd.org/changeset/ports/470756 Log: - Add USES=compiler:gcc-c++11-lib hoping to remove build errors on FreeBSD-11. Reported by: http://beefy9.nyi.freebsd.org/data/111amd64-default/470749/logs/octave-forge-octclip-1.0.8_8.log Added: head/math/octave-forge-octclip/files/ head/math/octave-forge-octclip/files/patch-Makefile (contents, props changed) Modified: head/math/octave-forge-octclip/Makefile Modified: head/math/octave-forge-octclip/Makefile ============================================================================== --- head/math/octave-forge-octclip/Makefile Thu May 24 02:53:00 2018 (r470755) +++ head/math/octave-forge-octclip/Makefile Thu May 24 03:22:45 2018 (r470756) @@ -18,10 +18,9 @@ OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src -.include "${.CURDIR}/../../Mk/bsd.octave.mk" +USES+= compiler:gcc-c++11-lib -post-patch: - ${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile +.include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure Added: head/math/octave-forge-octclip/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-octclip/files/patch-Makefile Thu May 24 03:22:45 2018 (r470756) @@ -0,0 +1,15 @@ +--- Makefile.orig 2018-05-24 03:17:31 UTC ++++ Makefile +@@ -6,10 +6,10 @@ FLAGSCOMW=-Wall -Wextra -Wshadow -Wcast- + #Common optimization flags for C and C++ + FLAGSCOMO=-O2 -funroll-loops -fno-common -fshort-enums + #Flags for C +-CFLAGS=-std=c99 -pedantic $(FLAGSCOMW) -Wconversion -Wmissing-prototypes ++CFLAGS+=-std=c99 -pedantic $(FLAGSCOMW) -Wconversion -Wmissing-prototypes + CFLAGS+=-Wstrict-prototypes -Wnested-externs $(FLAGSCOMO) + #Flags for C++ +-CXXFLAGS=$(FLAGSCOMW) $(FLAGSCOMO) ++CXXFLAGS+=$(FLAGSCOMW) $(FLAGSCOMO) + #Export flags for compilers and linker + export CFLAGS CXXFLAGS +