devil: fix build with jasper-1.900.27
This commit is contained in:
parent
8a505370eb
commit
555f33a834
1 changed files with 11 additions and 0 deletions
11
srcpkgs/devil/patches/jasper-1.900.27.patch
Normal file
11
srcpkgs/devil/patches/jasper-1.900.27.patch
Normal file
|
@ -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 {
|
Loading…
Reference in a new issue