From a9b6ca4cb363f829c7516b35a4c4451a09224603 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 13 Nov 2016 09:40:49 +0000 Subject: [PATCH] libgdal: fix build with jasper-1.900.27 --- srcpkgs/libgdal/patches/jasper-1.900.27.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/libgdal/patches/jasper-1.900.27.patch diff --git a/srcpkgs/libgdal/patches/jasper-1.900.27.patch b/srcpkgs/libgdal/patches/jasper-1.900.27.patch new file mode 100644 index 00000000000..b68e1cb1185 --- /dev/null +++ b/srcpkgs/libgdal/patches/jasper-1.900.27.patch @@ -0,0 +1,11 @@ +--- frmts/jpeg2000/jpeg2000_vsil_io.cpp.orig 2016-10-24 11:00:33.000000000 +0000 ++++ frmts/jpeg2000/jpeg2000_vsil_io.cpp 2016-11-13 09:38:17.714513103 +0000 +@@ -209,7 +209,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 {