From owner-svn-ports-head@FreeBSD.ORG Thu Jan 1 22:13:41 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40901B89; Thu, 1 Jan 2015 22:13:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 130116457A; Thu, 1 Jan 2015 22:13:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t01MDeFq086810; Thu, 1 Jan 2015 22:13:40 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t01MDeDt086808; Thu, 1 Jan 2015 22:13:40 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201501012213.t01MDeDt086808@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Thu, 1 Jan 2015 22:13:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376032 - head/graphics/ImageMagick/files X-SVN-Group: ports-head 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.18-1 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, 01 Jan 2015 22:13:41 -0000 Author: kwm Date: Thu Jan 1 22:13:39 2015 New Revision: 376032 URL: https://svnweb.freebsd.org/changeset/ports/376032 QAT: https://qat.redports.org/buildarchive/r376032/ Log: Fix some rarer build failures, that was hard to reproduce. Submitted by: Tobias Berner Added: head/graphics/ImageMagick/files/patch-coders_palm.c (contents, props changed) head/graphics/ImageMagick/files/patch-coders_rle.c (contents, props changed) Added: head/graphics/ImageMagick/files/patch-coders_palm.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ImageMagick/files/patch-coders_palm.c Thu Jan 1 22:13:39 2015 (r376032) @@ -0,0 +1,11 @@ +--- coders/palm.c 2014-12-25 19:05:34.000000000 +0100 ++++ coders/palm.c 2014-12-31 09:38:35.499493971 +0100 +@@ -510,7 +510,7 @@ + { + IndexPacket index=ConstrainColormapIndex(image,(mask-transparentIndex)); + if (bits_per_pixel != 16) +- SetMagickPixelPacket(image,image->colormap+index, ++ SetMagickPixelPacket(image,image->colormap+(ssize_t) index, + (const IndexPacket *) NULL,&transpix); + (void) TransparentPaintImage(image,&transpix,(Quantum) + TransparentOpacity,MagickFalse); Added: head/graphics/ImageMagick/files/patch-coders_rle.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ImageMagick/files/patch-coders_rle.c Thu Jan 1 22:13:39 2015 (r376032) @@ -0,0 +1,20 @@ +--- coders/rle.c.orig 2015-01-01 22:58:53.775440763 +0100 ++++ coders/rle.c 2015-01-01 23:00:50.825507571 +0100 +@@ -456,7 +456,7 @@ + if (IsValidColormapIndex(image,*p & mask,&index,exception) == + MagickFalse) + break; +- *p=colormap[index]; ++ *p=colormap[(ssize_t)index]; + p++; + } + else +@@ -467,7 +467,7 @@ + if (IsValidColormapIndex(image,(size_t) (x*map_length+ + (*p & mask)),&index,exception) == MagickFalse) + break; +- *p=colormap[index]; ++ *p=colormap[(ssize_t)index]; + p++; + } + if ((i < (ssize_t) number_pixels) || (x < (ssize_t) number_planes))