[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
74/74: gnu: r-ifultools: Patch in removed macros to fix build.
From: |
guix-commits |
Subject: |
74/74: gnu: r-ifultools: Patch in removed macros to fix build. |
Date: |
Sat, 2 Jul 2022 18:00:51 -0400 (EDT) |
rekado pushed a commit to branch wip-r
in repository guix.
commit 4745be8514c6f99216c9636e0060f41818401f3e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jul 2 23:52:49 2022 +0200
gnu: r-ifultools: Patch in removed macros to fix build.
* gnu/packages/cran.scm (r-ifultools)[arguments]: Define removed
compatibility
macros.
---
gnu/packages/cran.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a6590e30a8..02aa63af56 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7238,6 +7238,25 @@ provides some missing S-PLUS functionality in R.")
(base32
"16a7rbvlym3bnfm93ikr5kl0l86ppk0s41fva6idvcx765g3fqkk"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ `(modify-phases %standard-phases
+ (add-after 'unpack 'compatibility
+ (lambda _
+ ;; These definitions are no longer part of R since 4.2.0. See
+ ;; https://cran.r-project.org/doc/manuals/r-devel/NEWS.html for
+ ;; details.
+ (substitute* "inst/include/ut_RS.h"
+ (("#include \"R.h\"" m)
+ (string-append "\
+#define R_PROBLEM_BUFSIZE 4096
+#define PROBLEM {char
R_problem_buf[R_PROBLEM_BUFSIZE];(sprintf)(R_problem_buf,
+#define MESSAGE {char R_problem_buf[R_PROBLEM_BUFSIZE];(sprintf)(R_problem_buf,
+#define ERROR ),error(R_problem_buf);}
+#define WARNING(x) ),warning(R_problem_buf);}
+#define WARN WARNING(NULL)
+" m))))))))
(propagated-inputs
(list r-mass r-splus2r))
(home-page "https://cran.r-project.org/web/packages/ifultools/")
- 61/74: gnu: r-zellkonverter: Update to 1.6.3., (continued)
- 61/74: gnu: r-zellkonverter: Update to 1.6.3., guix-commits, 2022/07/02
- 68/74: gnu: r-rsubread: Update to 2.10.4., guix-commits, 2022/07/02
- 73/74: gnu: r-with-tests: Update to 4.2.1., guix-commits, 2022/07/02
- 13/74: gnu: r-raster: Update to 3.5-21., guix-commits, 2022/07/02
- 41/74: gnu: r-pkgdown: Update to 2.0.5., guix-commits, 2022/07/02
- 45/74: gnu: r-rlang: Update to 1.0.3., guix-commits, 2022/07/02
- 51/74: gnu: r-gtools: Update to 3.9.2.2., guix-commits, 2022/07/02
- 66/74: gnu: r-ropls: Update to 1.28.2., guix-commits, 2022/07/02
- 72/74: gnu: r-tcgabiolinks: Update to 2.24.3., guix-commits, 2022/07/02
- 71/74: gnu: r-bionetstat: Update to 1.16.1., guix-commits, 2022/07/02
- 74/74: gnu: r-ifultools: Patch in removed macros to fix build.,
guix-commits <=
- 40/74: gnu: r-downlit: Update to 0.4.1., guix-commits, 2022/07/02
- 49/74: gnu: r-r-utils: Update to 2.12.0., guix-commits, 2022/07/02
- 55/74: gnu: r-gld: Update to 2.6.5., guix-commits, 2022/07/02
- 58/74: gnu: r-organismdbi: Update to 1.38.1., guix-commits, 2022/07/02
- 65/74: gnu: r-genomicscores: Update to 2.8.2., guix-commits, 2022/07/02
- 18/74: gnu: r-waveslim: Update to 1.8.3., guix-commits, 2022/07/02
- 23/74: gnu: r-yulab-utils: Update to 0.0.5., guix-commits, 2022/07/02
- 28/74: gnu: r-additivitytests: Update to 1.1-4.1., guix-commits, 2022/07/02
- 31/74: gnu: r-flexsurv: Update to 2.2., guix-commits, 2022/07/02
- 32/74: gnu: r-igraph: Update to 1.3.2., guix-commits, 2022/07/02