guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: r-biomvrcns: Patch use of removed constants.


From: guix-commits
Subject: 01/06: gnu: r-biomvrcns: Patch use of removed constants.
Date: Wed, 12 Jul 2023 07:23:22 -0400 (EDT)

rekado pushed a commit to branch r-updates
in repository guix.

commit a47c983401fa8d53af72f0a6295be3d46a05558a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 12 12:57:16 2023 +0200

    gnu: r-biomvrcns: Patch use of removed constants.
    
    * gnu/packages/bioconductor.scm (r-biomvrcns)[arguments]: Add build phase to
    patch C sources.
---
 gnu/packages/bioconductor.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index bc8eda4293..7f60fa4e80 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -20581,6 +20581,16 @@ design.")
          "0n026b744ah5kcnipsyiqqs7vlz5n5im1kgv35i2pgxyzvf7a8sn"))))
     (properties `((upstream-name . "biomvRCNS")))
     (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'patch-obsolete-constants
+           (lambda _
+             ;; These constants were deprecated in 4.2.0 and removed in 4.3.0.
+             (substitute* "src/biomvRCNS.c"
+               (("DOUBLE_XMIN") "DBL_MIN")
+               (("DOUBLE_XMAX") "DBL_MAX")))))))
     (propagated-inputs
      (list r-genomicranges r-gviz r-iranges r-mvtnorm))
     (home-page "https://bioconductor.org/packages/biomvRCNS";)



reply via email to

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