From ecedf93fd52d030ee6086f0ea7301449d8432f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 13 May 2017 14:24:55 +0200 Subject: [PATCH] libgdal: update to 2.2.0 --- srcpkgs/libgdal/patches/jasper-1.900.27.patch | 22 +++++++++---------- srcpkgs/libgdal/template | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/srcpkgs/libgdal/patches/jasper-1.900.27.patch b/srcpkgs/libgdal/patches/jasper-1.900.27.patch index b68e1cb1185..708d54aefec 100644 --- a/srcpkgs/libgdal/patches/jasper-1.900.27.patch +++ b/srcpkgs/libgdal/patches/jasper-1.900.27.patch @@ -1,11 +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 { +--- frmts/jpeg2000/jpeg2000_vsil_io.cpp 2017-04-28 18:07:35.000000000 +0200 ++++ frmts/jpeg2000/jpeg2000_vsil_io.cpp 2017-05-13 13:47:12.058749833 +0200 +@@ -207,7 +207,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 { diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template index f657d87f5bd..ed864740ac3 100644 --- a/srcpkgs/libgdal/template +++ b/srcpkgs/libgdal/template @@ -1,6 +1,6 @@ # Template file for 'libgdal' pkgname=libgdal -version=2.1.3 +version=2.2.0 revision=1 wrksrc=gdal-${version} build_style=gnu-configure @@ -13,7 +13,7 @@ maintainer="Jürgen Buchmüller " license="MIT" homepage="http://www.gdal.org/" distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz" -checksum=b489793627e6cb8d2ff8d7737b61daf58382fe189fae4c581ddfd48c04b49005 +checksum=0d4c326862e0f118e17418c042c2bcd037b25abd3fb198e1fc5d40b11a9fc8ea post_install() { vinstall gdal.pc 644 usr/lib/pkgconfig