aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-05-19 20:23:13 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-05-19 20:31:32 +0200
commit77a41cb98c3c5d87a7b72c1f9ee7252d1709b926 (patch)
tree1d1fb3929219421da9fc18156dfcea9b3a85dfab /gnu/packages
parente0e30c9202d6a960ae0ccec7b4e722f38013c208 (diff)
downloadguix-77a41cb98c3c5d87a7b72c1f9ee7252d1709b926.tar.gz
guix-77a41cb98c3c5d87a7b72c1f9ee7252d1709b926.zip
gnu: emacs-ess: Fix build failure.
* gnu/packages/patches/emacs-ess-fix-obsolete-function-alias.patch: New file. * gnu/packages/statistics.scm (emacs-ess)[source]<patches>: Add it here... * gnu/local.mk (dist_patch_DATA): ... and here.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/patches/emacs-ess-fix-obsolete-function-alias.patch23
-rw-r--r--gnu/packages/statistics.scm4
2 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/patches/emacs-ess-fix-obsolete-function-alias.patch b/gnu/packages/patches/emacs-ess-fix-obsolete-function-alias.patch
new file mode 100644
index 0000000000..f7b61391c3
--- /dev/null
+++ b/gnu/packages/patches/emacs-ess-fix-obsolete-function-alias.patch
@@ -0,0 +1,23 @@
+From 9cc5520e1998d03f5dec0fbb1fe71b7cdec38b65 Mon Sep 17 00:00:00 2001
+From: Alex Branham <alex.branham@gmail.com>
+Date: Wed, 6 Jan 2021 06:41:20 -0500
+Subject: [PATCH] Add required when to obsolete function alias
+
+Closes #1085
+---
+ lisp/ess-r-package.el | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lisp/ess-r-package.el b/lisp/ess-r-package.el
+index 260959955..397ce14e6 100644
+--- a/lisp/ess-r-package.el
++++ b/lisp/ess-r-package.el
+@@ -577,7 +577,7 @@ package mode. Use this function if state of the buffer such as
+ (error "As of ESS 16.04, `ess-developer' is deprecated. Use `ess-r-set-evaluation-env' instead"))
+
+ (defalias 'ess-toggle-developer 'ess-developer)
+-(define-obsolete-function-alias 'ess-r-devtools-check-package-buildwin 'ess-r-devtools-check-with-winbuilder)
++(define-obsolete-function-alias 'ess-r-devtools-check-package-buildwin 'ess-r-devtools-check-with-winbuilder "18.04")
+ (define-obsolete-function-alias 'ess-r-devtools-ask 'ess-r-devtools-execute-command "18.04")
+
+ (make-obsolete-variable 'ess-developer "Please use `ess-developer-select-package' and `ess-r-set-evaluation-env' instead." "16.04")
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 244a2f3ecb..aad329400f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6347,7 +6347,9 @@ Java package that provides routines for various statistical distributions.")
"$(MAKE) -C lisp install; $(MAKE) -C doc install")
(("\\$\\(INSTALL) -R \\./\\* \\$\\(ESSDESTDIR)/")
"$(MAKE) -C etc install"))
- #t))))
+ #t))
+ (patches
+ (search-patches "emacs-ess-fix-obsolete-function-alias.patch"))))
(build-system gnu-build-system)
(arguments
(let ((base-directory "/share/emacs/site-lisp"))