From owner-svn-ports-head@freebsd.org Sun Jun 17 21:24:39 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 DCCEE100B55E; Sun, 17 Jun 2018 21:24:38 +0000 (UTC) (envelope-from adridg@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 8B09B8078C; Sun, 17 Jun 2018 21:24:38 +0000 (UTC) (envelope-from adridg@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 6C1361ADEE; Sun, 17 Jun 2018 21:24:38 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5HLOc2v047560; Sun, 17 Jun 2018 21:24:38 GMT (envelope-from adridg@FreeBSD.org) Received: (from adridg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5HLObvI047556; Sun, 17 Jun 2018 21:24:37 GMT (envelope-from adridg@FreeBSD.org) Message-Id: <201806172124.w5HLObvI047556@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adridg set sender to adridg@FreeBSD.org using -f From: Adriaan de Groot Date: Sun, 17 Jun 2018 21:24:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472637 - in head/graphics/Coin: . files X-SVN-Group: ports-head X-SVN-Commit-Author: adridg X-SVN-Commit-Paths: in head/graphics/Coin: . files X-SVN-Commit-Revision: 472637 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: Sun, 17 Jun 2018 21:24:39 -0000 Author: adridg Date: Sun Jun 17 21:24:37 2018 New Revision: 472637 URL: https://svnweb.freebsd.org/changeset/ports/472637 Log: The update to CMake 3.12 showed up compile failures (see the new patches, all of which are from upstream). All of these show Clang being more strict in its C++ than before. Reported by: tcberner Obtained from: upstream Added: head/graphics/Coin/files/patch-hg-11469.diff (contents, props changed) head/graphics/Coin/files/patch-hg-11603.diff (contents, props changed) head/graphics/Coin/files/patch-hg-11629.diff (contents, props changed) Modified: head/graphics/Coin/Makefile Modified: head/graphics/Coin/Makefile ============================================================================== --- head/graphics/Coin/Makefile Sun Jun 17 21:24:03 2018 (r472636) +++ head/graphics/Coin/Makefile Sun Jun 17 21:24:37 2018 (r472637) @@ -3,7 +3,7 @@ PORTNAME= Coin PORTVERSION= 3.1.3 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ Added: head/graphics/Coin/files/patch-hg-11469.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/Coin/files/patch-hg-11469.diff Sun Jun 17 21:24:37 2018 (r472637) @@ -0,0 +1,16 @@ +Fix compile, passing NULL isn't an integer for initializing a bool. + +From upstream revision 11469. + +diff -r a9e748858e58 -r d77c7249db51 src/profiler/SoProfilerVisualizeKit.cpp +--- src/profiler/SoProfilerVisualizeKit.cpp Mon Feb 16 13:09:45 2015 +0000 ++++ src/profiler/SoProfilerVisualizeKit.cpp Thu Feb 19 22:30:51 2015 +0100 +@@ -150,7 +150,7 @@ + SO_KIT_ADD_FIELD(separatorsWithGLCaches, (NULL)); + + this->separatorsWithGLCaches.setNum(0); +- this->separatorsWithGLCaches.setDefault(NULL); ++ this->separatorsWithGLCaches.setDefault(FALSE); + PRIVATE(this)->cacheSensor.reset(new SoFieldSensor(cacheSensorCB, this)); + PRIVATE(this)->cacheSensor->attach(&this->separatorsWithGLCaches); + PRIVATE(this)->rootSensor.reset(new SoFieldSensor(rootChangedCB, this)); Added: head/graphics/Coin/files/patch-hg-11603.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/Coin/files/patch-hg-11603.diff Sun Jun 17 21:24:37 2018 (r472637) @@ -0,0 +1,28 @@ +Fix compile, don't narrow unsigned int to int. + +Path of the diff has been adjusted to reflect upstream file moves. +From upstream revision 11603. + +diff -r cf80fb39af0b -r 3d88c63d65bb src/rendering/SoOffscreenRenderer.cpp +--- src/misc/SoOffscreenRenderer.cpp Tue Sep 26 09:47:59 2017 +0200 ++++ src/misc/SoOffscreenRenderer.cpp Tue Sep 26 09:49:30 2017 +0200 +@@ -432,7 +432,7 @@ + size_t bufferbytesize; + + CoinOffscreenGLCanvas glcanvas; +- unsigned int glcanvassize[2]; ++ int glcanvassize[2]; + + int numsubscreens[2]; + // The subscreen size of the current tile. (Less than max if it's a +@@ -1736,9 +1736,8 @@ + if (renderaction->getNumPasses() > 1) { + SbVec3f jittervec; + SbMatrix m; +- const int vpsize[2] = { this->glcanvassize[0], this->glcanvassize[1] }; + coin_viewvolume_jitter(renderaction->getNumPasses(), renderaction->getCurPass(), +- vpsize, (float *)jittervec.getValue()); ++ this->glcanvassize, (float *)jittervec.getValue()); + m.setTranslate(jittervec); + proj.multRight(m); + } Added: head/graphics/Coin/files/patch-hg-11629.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/Coin/files/patch-hg-11629.diff Sun Jun 17 21:24:37 2018 (r472637) @@ -0,0 +1,27 @@ +NUL-terminate the string, instead of accidentally setting the +pointer to NULL (which fails to compile on 12-CURRENT due to +converting char to pointer). + +From upstream revision 11629. + +diff -r fbd6ca1c1436 -r 6008c4bd6ba6 src/3ds/SoStream.cpp +--- src/3ds/SoStream.cpp Wed Aug 30 13:05:43 2017 +0200 ++++ src/3ds/SoStream.cpp Wed Aug 30 13:06:50 2017 +0200 +@@ -185,7 +185,7 @@ + if (!gotNum) { setBadBit(); return FALSE; } \ + \ + char *ce; \ +- s = '\0'; \ ++ *s = '\0'; \ + _convertType_ tempVal = _convertFunc_(buf, &ce, 0); \ + \ + if (ce != s) \ +@@ -282,7 +282,7 @@ + gotAll: \ + \ + char *ce; \ +- s = '\0'; \ ++ *s = '\0'; \ + double tempVal = _convertFunc_(buf, &ce); \ + \ + if (ce != s) \