From 6b5e717e1dc8f248b18a70695e2d8793fe1b1a31 Mon Sep 17 00:00:00 2001 From: Ilya Glushchenko Date: Thu, 14 Jul 2022 22:19:03 +0300 Subject: [PATCH] [geos] Bump version to 3.11.0. (#25750) --- ports/geos/disable-warning-4996.patch | 4 ++-- ports/geos/fix-exported-config.patch | 12 ++++++------ ports/geos/portfile.cmake | 4 ++-- ports/geos/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/g-/geos.json | 5 +++++ 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/ports/geos/disable-warning-4996.patch b/ports/geos/disable-warning-4996.patch index af39e2ed6a..d10e8df8ab 100644 --- a/ports/geos/disable-warning-4996.patch +++ b/ports/geos/disable-warning-4996.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index accc1a2..34d2055 100644 +index e758b5dc8..074986f38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -174,7 +174,7 @@ target_compile_features(geos_cxx_flags INTERFACE cxx_std_11) +@@ -187,7 +187,7 @@ target_compile_features(geos_cxx_flags INTERFACE cxx_std_11) target_compile_options(geos_cxx_flags INTERFACE "$<$,$>:-ffp-contract=off>" "$<$:-ffp-contract=off>" diff --git a/ports/geos/fix-exported-config.patch b/ports/geos/fix-exported-config.patch index 40aa835e0c..46af90efd1 100644 --- a/ports/geos/fix-exported-config.patch +++ b/ports/geos/fix-exported-config.patch @@ -1,10 +1,10 @@ diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt -index bc0e774..e3ca0bd 100644 +index a8c034fb2..a5cd14c13 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt -@@ -45,11 +45,18 @@ function(configure_install_geos_pc) - set(includedir "$\{prefix\}/${CMAKE_INSTALL_INCLUDEDIR}") - set(libdir "$\{exec_prefix\}/${CMAKE_INSTALL_LIBDIR}") +@@ -61,11 +61,18 @@ function(configure_install_geos_pc) + set(libdir "$\{exec_prefix\}/${CMAKE_INSTALL_LIBDIR}") + endif() set(VERSION ${GEOS_VERSION}) - set(EXTRA_LIBS "-lstdc++") + if(APPLE OR CMAKE_ANDROID_STL_TYPE MATCHES "^c\\+\\+") @@ -22,7 +22,7 @@ index bc0e774..e3ca0bd 100644 configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/geos.pc.in -@@ -61,9 +68,9 @@ function(configure_install_geos_pc) +@@ -77,9 +84,9 @@ function(configure_install_geos_pc) DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endfunction() @@ -34,7 +34,7 @@ index bc0e774..e3ca0bd 100644 option(BUILD_ASTYLE "Build astyle (Artistic Style) tool" OFF) diff --git a/tools/geos-config.in b/tools/geos-config.in -index 6eff1eb..8827f6a 100644 +index 6eff1eb14..8827f6ac6 100644 --- a/tools/geos-config.in +++ b/tools/geos-config.in @@ -1,9 +1,11 @@ diff --git a/ports/geos/portfile.cmake b/ports/geos/portfile.cmake index 6118fcf626..9a27eaa149 100644 --- a/ports/geos/portfile.cmake +++ b/ports/geos/portfile.cmake @@ -1,9 +1,9 @@ -set(GEOS_VERSION 3.10.2) +set(GEOS_VERSION 3.11.0) vcpkg_download_distfile(ARCHIVE URLS "https://download.osgeo.org/geos/geos-${GEOS_VERSION}.tar.bz2" FILENAME "geos-${GEOS_VERSION}.tar.bz2" - SHA512 390381711ccf56b862c2736cf6329200822f121de1c49df52b8b85cabea8c7787b199df2196acacc2e5c677ff3ebe042d93d70e89deadbc19d754499edb65126 + SHA512 40c7553bbb93673c231ddd0131b73bf43b3f50524bc5bd9e6934c068d2c09632f388b7429254ae15d9641da2d15e3a626b430438854e98d9e7419ad04e535189 ) vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH diff --git a/ports/geos/vcpkg.json b/ports/geos/vcpkg.json index 826736d01b..f5978b301f 100644 --- a/ports/geos/vcpkg.json +++ b/ports/geos/vcpkg.json @@ -1,6 +1,6 @@ { "name": "geos", - "version": "3.10.2", + "version": "3.11.0", "description": "Geometry Engine Open Source", "homepage": "https://libgeos.org/", "license": "LGPL-2.1-only", diff --git a/versions/baseline.json b/versions/baseline.json index 98b0274e9a..6e570de2b7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2505,7 +2505,7 @@ "port-version": 0 }, "geos": { - "baseline": "3.10.2", + "baseline": "3.11.0", "port-version": 0 }, "geotrans": { diff --git a/versions/g-/geos.json b/versions/g-/geos.json index 0d975027a8..879038adfa 100644 --- a/versions/g-/geos.json +++ b/versions/g-/geos.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "65d05922979febad3d20696832347333c24f1c16", + "version": "3.11.0", + "port-version": 0 + }, { "git-tree": "aa45b04832db59c6f6c4e92cf0f67b21afe41a48", "version": "3.10.2",