guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52818] [PATCH] gnu: proj: Fix version number.


From: Nikolay Korotkiy
Subject: [bug#52818] [PATCH] gnu: proj: Fix version number.
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]