From owner-svn-ports-all@freebsd.org Sat Jun 23 20:04:28 2018 Return-Path: Delivered-To: svn-ports-all@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 812B21004529; Sat, 23 Jun 2018 20:04:28 +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 3347190BFE; Sat, 23 Jun 2018 20:04:28 +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 144B9147D4; Sat, 23 Jun 2018 20:04:28 +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 w5NK4RmR008118; Sat, 23 Jun 2018 20:04:27 GMT (envelope-from adridg@FreeBSD.org) Received: (from adridg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5NK4RBi008117; Sat, 23 Jun 2018 20:04:27 GMT (envelope-from adridg@FreeBSD.org) Message-Id: <201806232004.w5NK4RBi008117@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adridg set sender to adridg@FreeBSD.org using -f From: Adriaan de Groot Date: Sat, 23 Jun 2018 20:04:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473161 - head/graphics/ampasACES-container/files X-SVN-Group: ports-head X-SVN-Commit-Author: adridg X-SVN-Commit-Paths: head/graphics/ampasACES-container/files X-SVN-Commit-Revision: 473161 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 20:04:28 -0000 Author: adridg Date: Sat Jun 23 20:04:27 2018 New Revision: 473161 URL: https://svnweb.freebsd.org/changeset/ports/473161 Log: Fix graphics/ampasACES-container with Clang6. aces_formatter.cpp:255:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int32' (aka 'int') in initializer list [-Wc++11-narrowing] scanLineHeader sh = { yMin + row, scanLineSize }; Reported upstream as well. Not bumping PORTREVISION since this is just a compile fix. Added: head/graphics/ampasACES-container/files/ head/graphics/ampasACES-container/files/patch-aces__formatter.cpp (contents, props changed) Added: head/graphics/ampasACES-container/files/patch-aces__formatter.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ampasACES-container/files/patch-aces__formatter.cpp Sat Jun 23 20:04:27 2018 (r473161) @@ -0,0 +1,13 @@ +--- aces_formatter.cpp.orig 2018-06-23 19:34:29 UTC ++++ aces_formatter.cpp +@@ -107,8 +107,8 @@ + #include + + struct scanLineHeader { +- int32 yCoordinate; +- int32 pixelDataSize; ++ uint32 yCoordinate; ++ uint32 pixelDataSize; + }; + +