gdal: Bump to 3.5.3

This commit is contained in:
Tee KOBAYASHI 2022-11-19 03:56:31 +09:00 committed by xtkoba
parent 3bae13bfe5
commit 1feb91b11d
2 changed files with 5 additions and 23 deletions

View File

@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A translator library for raster and vector geospatial da
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_LICENSE_FILE="LICENSE.TXT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.4.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=3.5.3
TERMUX_PKG_SRCURL=https://download.osgeo.org/gdal/${TERMUX_PKG_VERSION}/gdal-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=16baf03dfccf9e3f72bb2e15cd2d5b3f4be0437cdff8a785bceab0c7be557335
TERMUX_PKG_SHA256=d32223ddf145aafbbaec5ccfa5dbc164147fb3348a3413057f9b1600bb5b3890
TERMUX_PKG_DEPENDS="json-c, libc++, libcurl, libexpat, libgeos, libiconv, libjxl, libpng, libspatialite, libsqlite, libwebp, netcdf-c, openjpeg, openssl, proj, postgresql"
TERMUX_PKG_BREAKS="gdal-dev"
TERMUX_PKG_REPLACES="gdal-dev"
@ -19,6 +18,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-libtiff=internal
--with-spatialite=$TERMUX_PREFIX
--with-sqlite3=$TERMUX_PREFIX
--with-rename-internal-libtiff-symbols=no
--with-rename-internal-libgeotiff-symbols=no
--with-rename-internal-shapelib-symbols=no
"
termux_step_pre_configure() {

View File

@ -1,20 +0,0 @@
--- ../cpl_port.h
+++ ./port/cpl_port.h
@@ -140,7 +140,7 @@
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
-#include <limits.h>
+#include <linux/limits.h>
#include <time.h>
@@ -1085,7 +1085,7 @@ inline bool operator!= (const bool& one, const MSVCPedanticBool& other) { return
#include <set>
#include <string>
#include <cstddef>
-#include <limits>
+#include <linux/limits>
#include <sstream>
#include <fstream>
#include <algorithm>