diff options
author | jose1711 | 2017-07-28 01:45:34 +0200 |
---|---|---|
committer | jose1711 | 2017-07-28 01:45:34 +0200 |
commit | baea3e8ba3854afe6a6e331a247e63fa8a225a1f (patch) | |
tree | 11b2b9a8b4ab4e569c7ce38bc28f24751e02a406 /jpeg2000.patch | |
parent | b4bf83706d276673291dfd08f33f4f5204a11044 (diff) | |
download | aur-gdal1.tar.gz |
Fix building
Diffstat (limited to 'jpeg2000.patch')
-rw-r--r-- | jpeg2000.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jpeg2000.patch b/jpeg2000.patch new file mode 100644 index 000000000000..cab21036727f --- /dev/null +++ b/jpeg2000.patch @@ -0,0 +1,11 @@ +--- jpeg2000_vsil_io.cpp.old 2017-07-28 01:08:51.945036712 +0200 ++++ jpeg2000_vsil_io.cpp 2017-07-28 00:55:03.743658821 +0200 +@@ -206,7 +206,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(u_char *, buf);
+ stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK;
+ }
+ } else {
|