From 555f33a83413fb20d11ad25947e29c89fa1768ca Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 13 Nov 2016 09:11:38 +0000 Subject: [PATCH] devil: fix build with jasper-1.900.27 --- srcpkgs/devil/patches/jasper-1.900.27.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/devil/patches/jasper-1.900.27.patch diff --git a/srcpkgs/devil/patches/jasper-1.900.27.patch b/srcpkgs/devil/patches/jasper-1.900.27.patch new file mode 100644 index 00000000000..09c34dacc91 --- /dev/null +++ b/srcpkgs/devil/patches/jasper-1.900.27.patch @@ -0,0 +1,11 @@ +--- src-IL/src/il_jp2.c.orig 2016-11-13 09:08:41.000000000 +0000 ++++ src-IL/src/il_jp2.c 2016-11-13 09:09:13.198423105 +0000 +@@ -459,7 +459,7 @@ + /* 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 {