diff --git a/mingw-w64-graphicsmagick/001-relocate.patch b/mingw-w64-graphicsmagick/001-relocate.patch index 38f0d23823..eb2f99ba4e 100644 --- a/mingw-w64-graphicsmagick/001-relocate.patch +++ b/mingw-w64-graphicsmagick/001-relocate.patch @@ -74,7 +74,7 @@ diff -Naur GraphicsMagick-1.3.20-orig/magick/delegate.c GraphicsMagick-1.3.20/ma + } + strcpy(BinPath,exe_path); +# else - strcpy(BinPath,MagickBinPath); + strlcpy(BinPath,MagickBinPath,sizeof(BinPath)); +# endif # else { diff --git a/mingw-w64-graphicsmagick/PKGBUILD b/mingw-w64-graphicsmagick/PKGBUILD index eeb0c82222..9a986150f8 100644 --- a/mingw-w64-graphicsmagick/PKGBUILD +++ b/mingw-w64-graphicsmagick/PKGBUILD @@ -1,9 +1,10 @@ # Maintainer: Alexey Pavlov _realname=graphicsmagick +pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=1.3.21 -pkgrel=2 +pkgver=1.3.22 +pkgrel=1 pkgdesc="An image viewing/manipulation program (mingw-w64)" arch=('any') url="http://www.graphicsmagick.org/" @@ -35,8 +36,8 @@ optdepends=("${MINGW_PACKAGE_PREFIX}-ghostscript: for Ghostscript support" options=('staticlibs' 'strip' 'libtool') source=(http://sourceforge.net/projects/graphicsmagick/files/${_realname}/${pkgver}/GraphicsMagick-${pkgver}.tar.xz 001-relocate.patch) -md5sums=('f86fe89ea413720a3b04c59c8d5271a2' - '44ebff623519daa9be86ee6a6aaea2b6') +md5sums=('32e6ae274aa9318d2879978dd1e417a0' + '7ff566f64baa2f2e198717aab2d937b5') prepare() { cd GraphicsMagick-${pkgver}