Subject: [PATCH] gnu: proj: Fix version number.

From: Nikolay Korotkiy <[email-masked]>
Date: Mon, 27 Dec 2021 18:02:04 +0300

* gnu/packages/geo.scm (proj): Set to 7.2.1 instead of 7.2.0.
---
 gnu/packages/geo.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index f7866d4b4b..8e5965c97c 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -517,7 +517,13 @@ (define-public proj
          "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")))
+     `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-version
+           (lambda _
+             (substitute* "CMakeLists.txt"
+               (("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))
     (inputs
      (list curl libjpeg-turbo libtiff sqlite))
     (native-inputs
-- 
2.34.0