guix-commits
[Top][All Lists]
Advanced

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

15/15: gnu: CMake: Update to 3.23.2.


From: guix-commits
Subject: 15/15: gnu: CMake: Update to 3.23.2.
Date: Mon, 27 Jun 2022 17:50:03 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 0b0750e83144dc59b3c01f72c98c23c890e8de5b
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 27 22:13:22 2022 +0200

    gnu: CMake: Update to 3.23.2.
    
    * gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.23.2.
    (%preserved-third-party-files): Preserve bundled ELF header files.
    * gnu/packages/patches/cmake-curl-certificates.patch: Adjust for upstream
    changes.
---
 gnu/packages/cmake.scm                             |  6 ++++--
 gnu/packages/patches/cmake-curl-certificates.patch | 15 ++++++++-------
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index fe49bdf0fa..00ea7c3054 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -142,6 +142,8 @@ using the CMake build system.")
     ;; be available along with the required headers.
     "Utilities/cmlibarchive/libarchive/archive_getdate.c"
     "Utilities/cmlibarchive/libarchive/archive_getdate.h"
+    ;; ELF headers.
+    "Utilities/cmelf"
     ;; CMake header wrappers.
     "Utilities/cm3p"))
 
@@ -150,7 +152,7 @@ using the CMake build system.")
 (define-public cmake-bootstrap
   (package
     (name "cmake-bootstrap")
-    (version "3.21.4")
+    (version "3.23.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://cmake.org/files/v";
@@ -158,7 +160,7 @@ using the CMake build system.")
                                   "/cmake-" version ".tar.gz"))
               (sha256
                (base32
-                "0y2rk316j9m1iqimgwah0z1ii3ggli65dw6hdn4ckx0mqaahlmyr"))
+                "1ai6zycs4zj49d46lzz9b6l0q5hvlkyix66zd90rlvs6ac0b85pk"))
               (patches (search-patches "cmake-curl-certificates.patch"))))
     (build-system gnu-build-system)
     (arguments
diff --git a/gnu/packages/patches/cmake-curl-certificates.patch 
b/gnu/packages/patches/cmake-curl-certificates.patch
index 7fe2615271..8dd93de724 100644
--- a/gnu/packages/patches/cmake-curl-certificates.patch
+++ b/gnu/packages/patches/cmake-curl-certificates.patch
@@ -4,22 +4,23 @@ at all: <https://issues.guix.gnu.org/issue/37371>.
 This changes CMake such that commands honor SSL_CERT_FILE and SSL_CERT_DIR
 as well as /etc/ssl/certs.
 
---- cmake-3.13.1/Source/cmCurl.cxx     2019-09-10 17:27:36.926907260 +0200
-+++ cmake-3.13.1/Source/cmCurl.cxx     2019-09-10 17:52:35.475903919 +0200
-@@ -2,11 +2,8 @@
+diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx
+index 28ee24dfe9..6b2bb09ff5 100644
+--- a/Source/cmCurl.cxx
++++ b/Source/cmCurl.cxx
+@@ -2,10 +2,7 @@
     file Copyright.txt or https://cmake.org/licensing for details.  */
  #include "cmCurl.h"
  
 -#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) &&                    
\
 -  !defined(__APPLE__) && !defined(CURL_CA_BUNDLE) && !defined(CURL_CA_PATH)
  #  define CMAKE_FIND_CAFILE
- #  include "cmSystemTools.h"
 -#endif
  #include "cmStringAlgorithms.h"
+ #include "cmSystemTools.h"
  
- // curl versions before 7.21.5 did not provide this error code
-@@ -30,6 +27,19 @@
-     ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile);
+@@ -38,6 +35,19 @@ std::string cmCurlSetCAInfo(::CURL* curl, const 
std::string& cafile)
+     ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile.c_str());
      check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
    }
 +



reply via email to

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