mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
libgdal: fix build with jasper-1.900.27
This commit is contained in:
parent
808ddc0c2c
commit
a9b6ca4cb3
1 changed files with 11 additions and 0 deletions
11
srcpkgs/libgdal/patches/jasper-1.900.27.patch
Normal file
11
srcpkgs/libgdal/patches/jasper-1.900.27.patch
Normal file
|
@ -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 {
|
Loading…
Add table
Reference in a new issue