summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-20 23:36:32 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-20 23:37:17 +0100
commit5cc948bb46c3e4ad360c5ab61112e148fd8cb9d8 (patch)
tree9482cec4f114f87e0505ff8eaf12825d825eff5d /gnu/packages/python-science.scm
parentb3a59e969d5b703ed627132a077783687462ef9c (diff)
gnu: python-vaex-core: Fix build with gcc@14.
* gnu/packages/python-science.scm (python-vaex-core) [arguments] <phases>: Add 'patch-missing-include. Change-Id: Id98cff63954bfa3b460dd612b5175e8ad58aacc2
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ce2caf5296..f51de6d8b1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3878,8 +3878,8 @@ readable.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://www.github.com/maartenbreddels/vaex")
- (commit (string-append "core-v" version))))
+ (url "https://www.github.com/maartenbreddels/vaex")
+ (commit (string-append "core-v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sp096msbzgjlwi8c1ink2bp4pjff9pvikqz1y1li8d3in4gpgdr"))
@@ -3917,7 +3917,14 @@ readable.")
;; "dask!=2022.4.0,<2024.9"; there is a note "fingerprinting
;; in no longer deterministic as of 2024.9.0" which may be
;; resolved in 2024.12.1.
- ((",<2024.9") "")))))))
+ ((",<2024.9") ""))))
+ (add-before 'build 'patch-missing-include
+ (lambda _
+ ;; See: <https://github.com/vaexio/vaex/issues/2382>.
+ ;; TODO: Update to the latest version including the fix.
+ (substitute* "src/string_utils.hpp"
+ (("#include <nonstd/string_view.hpp>")
+ "#include <cstdint>\n#include <nonstd/string_view.hpp>")))))))
(inputs
(list boost pcre pybind11 string-view-lite tsl-hopscotch-map))
(propagated-inputs