extra/imagemagick to 6.9.0.2-1

This commit is contained in:
Kevin Mihelich 2014-12-31 20:32:11 +00:00
parent 6e30e9cd81
commit 1aa9c96cac
3 changed files with 30 additions and 4 deletions

View file

@ -8,7 +8,7 @@
pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
pkgver=6.9.0.0
pkgver=6.9.0.2
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.imagemagick.org/"
@ -18,16 +18,20 @@ makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript'
'libwebp' 'subversion')
source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc}
#source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc}
perlmagick.rpath.patch)
sha1sums=('6bf4263ceaeea61e00fe15a95db320d49bcc48c4'
perlmagick.rpath.patch imagemagick-palm.diff imagemagick-rle.diff)
sha1sums=('da0ad71290bf92a848ceddbbcf67d765542febd5'
'SKIP'
'e143cf9d530fabf3b58023899b5cc544ba93daec')
'e143cf9d530fabf3b58023899b5cc544ba93daec'
'34f4e402963e83f5c6e6da79d75d1f43afdbca86'
'75534ddcb9f787ee270bdeb0899983fc95eb33a5')
prepare() {
cd ImageMagick-${pkgver%.*}-${pkgver##*.}
sed '/AC_PATH_XTRA/d' -i configure.ac
autoreconf --force --install
patch -p0 -i "${srcdir}/perlmagick.rpath.patch"
patch -p3 -i "${srcdir}/imagemagick-palm.diff"
patch -p3 -i "${srcdir}/imagemagick-rle.diff"
}
build() {

View file

@ -0,0 +1,11 @@
Index: ImageMagick/branches/ImageMagick-6/coders/palm.c
===================================================================
--- ImageMagick/branches/ImageMagick-6/coders/palm.c (revision 17434)
+++ ImageMagick/branches/ImageMagick-6/coders/palm.c (revision 17515)
@@ -511,5 +511,5 @@
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)

View file

@ -0,0 +1,11 @@
Index: ImageMagick/branches/ImageMagick-6/coders/palm.c
===================================================================
--- ImageMagick/branches/ImageMagick-6/coders/palm.c (revision 17434)
+++ ImageMagick/branches/ImageMagick-6/coders/palm.c (revision 17515)
@@ -511,5 +511,5 @@
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)