ports/graphics/devil/files/patch-src-IL_src_il__jp2.c
Baptiste Daroussin c5fe34636c Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
2019-12-27 13:43:00 +00:00

11 lines
447 B
C

--- src-IL/src/il_jp2.c.orig 2009-03-08 07:10:09 UTC
+++ src-IL/src/il_jp2.c
@@ -459,7 +459,7 @@ static void jas_stream_initbuf(jas_stream_t *stream, i
/* The buffer must be large enough to accommodate maximum
putback. */
assert(bufsize > JAS_STREAM_MAXPUTBACK);
- stream->bufbase_ = JAS_CAST(uchar *, buf);
+ stream->bufbase_ = JAS_CAST(jas_uchar *, buf);
stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK;
}
} else {