From owner-svn-ports-head@freebsd.org Sun Apr 15 23:57:45 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 A6DD3F98E09; Sun, 15 Apr 2018 23:57:45 +0000 (UTC) (envelope-from jbeich@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 5BF6775EB1; Sun, 15 Apr 2018 23:57:45 +0000 (UTC) (envelope-from jbeich@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 56D4015C8D; Sun, 15 Apr 2018 23:57:45 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3FNvjRa099107; Sun, 15 Apr 2018 23:57:45 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3FNvjan099106; Sun, 15 Apr 2018 23:57:45 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804152357.w3FNvjan099106@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 15 Apr 2018 23:57:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467442 - head/graphics/freeimage/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/graphics/freeimage/files X-SVN-Commit-Revision: 467442 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.25 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, 15 Apr 2018 23:57:45 -0000 Author: jbeich Date: Sun Apr 15 23:57:45 2018 New Revision: 467442 URL: https://svnweb.freebsd.org/changeset/ports/467442 Log: graphics/freeimage: unbreak build with Clang 6 (C++14 by default) Source/LibRawLite/./internal/dcraw_common.cpp:2042:17: error: constant expression evaluates to -2 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 1,0, 2,2, 2,-2, ^~ Source/LibRawLite/./internal/dcraw_common.cpp:2042:17: note: insert an explicit cast to silence this issue 1,0, 2,2, 2,-2, ^~ static_cast( ) [...] Reported by: pkg-fallout (armv6, armv7, aarch64) Modified: head/graphics/freeimage/files/patch-Source_LibRawLite_internal_dcraw__common.cpp (contents, props changed) Modified: head/graphics/freeimage/files/patch-Source_LibRawLite_internal_dcraw__common.cpp ============================================================================== --- head/graphics/freeimage/files/patch-Source_LibRawLite_internal_dcraw__common.cpp Sun Apr 15 23:57:29 2018 (r467441) +++ head/graphics/freeimage/files/patch-Source_LibRawLite_internal_dcraw__common.cpp Sun Apr 15 23:57:45 2018 (r467442) @@ -1,7 +1,17 @@ +https://github.com/LibRaw/LibRaw/commit/f4c0b98581a6 https://github.com/LibRaw/LibRaw/commit/2cef10389486 --- Source/LibRawLite/internal/dcraw_common.cpp.orig 2014-02-07 19:48:10 UTC +++ Source/LibRawLite/internal/dcraw_common.cpp +@@ -2027,7 +2027,7 @@ void CLASS quicktake_100_load_raw() + + void CLASS kodak_radc_load_raw() + { +- static const char src[] = { ++ static const signed char src[] = { + 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8, + 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8, + 2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8, @@ -3782,22 +3782,22 @@ void CLASS vng_interpolate() -2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03, -2,+1,-1,+0,0,0x04, -2,+1,+0,-1,1,0x04, -2,+1,+0,+0,0,0x06,