package/proj: bump to version 9.3.0

- Switch to cmake-package as autotools has been removed since version
  9.0.0
- This bump will fix the following build failure with gcc 13 thanks to
  b0b8937c56:

In file included from proj_json_streaming_writer.cpp:34:
proj_json_streaming_writer.hpp:42:14: error: 'int64_t' in namespace 'std' does not name a type
   42 | typedef std::int64_t GIntBig;
      |              ^~~~~~~

https://github.com/OSGeo/PROJ/blob/9.3.0/NEWS

Fixes:
 - http://autobuild.buildroot.org/results/68416dcbed1ece589a7438b085f57064fc20f87d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-09-24 13:25:12 +02:00 committed by Peter Korsgaard
parent 9a4476245f
commit 57aba033e6
2 changed files with 13 additions and 12 deletions

View File

@ -1,5 +1,5 @@
# Fetched from http://download.osgeo.org/proj/proj-8.1.1.tar.gz.md5 # Fetched from http://download.osgeo.org/proj/proj-9.3.0.tar.gz.md5
md5 f017fd7d35311b0d65b2cf0503844690 proj-8.1.1.tar.gz md5 f1d70cb8873bb4429a03c437c65c41c4 proj-9.3.0.tar.gz
# Locally calculated # Locally calculated
sha256 82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2 proj-8.1.1.tar.gz sha256 91a3695a004ea28db0448a34460bed4cc3b130e5c7d74339ec999efdab0e547d proj-9.3.0.tar.gz
sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING

View File

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
PROJ_VERSION = 8.1.1 PROJ_VERSION = 9.3.0
PROJ_SITE = http://download.osgeo.org/proj PROJ_SITE = http://download.osgeo.org/proj
PROJ_LICENSE = MIT PROJ_LICENSE = MIT
PROJ_LICENSE_FILES = COPYING PROJ_LICENSE_FILES = COPYING
@ -19,22 +19,23 @@ PROJ_CFLAGS += -O0
PROJ_CXXFLAGS += -O0 PROJ_CXXFLAGS += -O0
endif endif
PROJ_CONF_ENV = \ PROJ_CONF_OPTS = \
CFLAGS="$(PROJ_CFLAGS)" \ -DBUILD_APPS=OFF \
CXXFLAGS="$(PROJ_CXXFLAGS)" -DCMAKE_C_FLAGS="$(PROJ_CFLAGS)" \
-DCMAKE_CXX_FLAGS="$(PROJ_CXXFLAGS)"
ifeq ($(BR2_PACKAGE_LIBCURL),y) ifeq ($(BR2_PACKAGE_LIBCURL),y)
PROJ_DEPENDENCIES += libcurl PROJ_DEPENDENCIES += libcurl
PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config PROJ_CONF_OPTS += -DENABLE_CURL=ON
else else
PROJ_CONF_OPTS += --without-curl PROJ_CONF_OPTS += -DENABLE_CURL=OFF
endif endif
ifeq ($(BR2_PACKAGE_TIFF),y) ifeq ($(BR2_PACKAGE_TIFF),y)
PROJ_DEPENDENCIES += tiff PROJ_DEPENDENCIES += tiff
PROJ_CONF_OPTS += --enable-tiff PROJ_CONF_OPTS += -DENABLE_TIFF=ON
else else
PROJ_CONF_OPTS += --disable-tiff PROJ_CONF_OPTS += -DENABLE_TIFF=OFF
endif endif
$(eval $(autotools-package)) $(eval $(cmake-package))