graphicsmagick: Update to 1.3.38

This commit is contained in:
Tee KOBAYASHI 2022-03-28 10:06:31 +09:00 committed by buttaface
parent 644c0a04ff
commit cb84902763
2 changed files with 3 additions and 24 deletions

View File

@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=http://www.graphicsmagick.org/
TERMUX_PKG_DESCRIPTION="Collection of image processing tools"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.3.37
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=1.3.38
# Bandwith limited on main ftp site, so it's asked to use sourceforge instead:
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/${TERMUX_PKG_VERSION}/GraphicsMagick-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=90dc22f1a7bd240e4c9065a940962bf13da43c99bcc36cb111cc3c1a0d7477d4
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/${TERMUX_PKG_VERSION}/GraphicsMagick-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=d60cd9db59351d2b9cb19beb443170acaa28f073d13d258f67b3627635e32675
TERMUX_PKG_DEPENDS="libwebp, littlecms, libc++, libtiff, freetype, libjasper, libjpeg-turbo, libpng, libbz2, libxml2, liblzma, zstd, zlib"
TERMUX_PKG_BREAKS="graphicsmagick-dev"
TERMUX_PKG_REPLACES="graphicsmagick++, graphicsmagick-dev"

View File

@ -1,20 +0,0 @@
--- a/coders/jp2.c
+++ b/coders/jp2.c
@@ -313,7 +313,7 @@
#if MAGICK_JP2_OLD_STREAM_INTERFACE
static int BlobRead(jas_stream_obj_t *object,char *buffer,const int length)
#else
-static int BlobRead(jas_stream_obj_t *object,char *buffer,unsigned length)
+static ssize_t BlobRead(jas_stream_obj_t *object,char *buffer,size_t length)
#endif
{
size_t
@@ -329,7 +329,7 @@
#if MAGICK_JP2_OLD_STREAM_INTERFACE
static int BlobWrite(jas_stream_obj_t *object,char *buffer,const int length)
#else
-static int BlobWrite(jas_stream_obj_t *object,const char *buffer,unsigned length)
+static ssize_t BlobWrite(jas_stream_obj_t *object,const char *buffer,size_t length)
#endif
{
size_t