summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-16 12:08:24 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-17 12:59:54 +0100
commit21b66028d0572ba8281b8aa4f2895112ce5ab054 (patch)
tree3eaf99f1496ad88a6eab3e5525f40af265e16dc4
parent6625bc3e14cf7958d3e91aac51c7ec465e174f95 (diff)
Fix an out-of-bounds error by using a fork of cpprestsdk
-rw-r--r--private/komodo/cpprestsdk.scm51
1 files changed, 25 insertions, 26 deletions
diff --git a/private/komodo/cpprestsdk.scm b/private/komodo/cpprestsdk.scm
index 990be36bc5..230c560b76 100644
--- a/private/komodo/cpprestsdk.scm
+++ b/private/komodo/cpprestsdk.scm
@@ -10,29 +10,28 @@
#:use-module (guix packages))
(define-public cpprestsdk
- (let ((cpprestsdk-github "https://github.com/microsoft/cpprestsdk")
- (cpprestsdk-version "v2.10.19"))
- (package
- (name "cpprestsdk")
- (version cpprestsdk-version)
- (source
- (origin
- (uri
- (git-reference
- (url cpprestsdk-github)
- (commit cpprestsdk-version)))
- (method git-fetch)
- (hash
- (content-hash
- "09pb16aqs4x6xgsvj6fpwxzqa4px11j5qigcpjsb3hbsbkvsd9nc"))))
- (build-system cmake-build-system)
- (native-inputs (list boost openssl websocketpp zlib))
- (synopsis "The Microsoft C++ REST SDK")
- (description
- (string-append
- "The C++ REST SDK is a Microsoft project for cloud-based client-server "
- "communication in native code using a modern asynchronous C++ API design. "
- "This project aims to help C++ developers connect to and interact with "
- "services."))
- (license license:expat)
- (home-page cpprestsdk-github))))
+ (package
+ (name "cpprestsdk")
+ (version "v2.10.16")
+ (source
+ (origin
+ (uri
+ (git-reference
+ ;; This fork includes a fix to an out-of-bounds error.
+ (url "https://github.com/priv-kweihmann/cpprestsdk")
+ (commit "gcc10-64bit")))
+ (method git-fetch)
+ (hash
+ (content-hash
+ "03cd0p0fjvfi94avqvf00g89a9qqkj2r7skm4xnvr4p7hihw1ikd"))))
+ (build-system cmake-build-system)
+ (native-inputs (list boost openssl websocketpp zlib))
+ (synopsis "The Microsoft C++ REST SDK")
+ (description
+ (string-append
+ "The C++ REST SDK is a Microsoft project for cloud-based client-server "
+ "communication in native code using a modern asynchronous C++ API "
+ "design. This project aims to help C++ developers connect to and "
+ "interact with services."))
+ (license license:expat)
+ (home-page "https://github.com/microsoft/cpprestsdk")))