summaryrefslogtreecommitdiff
path: root/math/ess
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2021-01-23 02:42:03 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2021-01-23 02:42:03 +0000
commitd4fbd62e8720ee180799021d7ef91b35a0588533 (patch)
treed718baef1b433569548a8f8e0b28822a1e7c0b03 /math/ess
parentnet/coturn: Fix pidfile in the rc script (diff)
math/ess: Fix build after latest editors/emacs-devel update
The 'when' argument of `make-obsolete` and related functions was recently made mandatory. [1] Apply an upstream patch to a `define-obsolete-function-alias' call to fix the build. [2] [1] https://github.com/emacs-mirror/emacs/commit/32c6732d16385f242b1109517f25e9aefd6caa5c [2] https://github.com/emacs-ess/ESS/commit/9cc5520e1998d03f5dec0fbb1fe71b7cdec38b65 Reported by: tcberner Approved by: rhurlin (maintainer) Differential Revision: https://reviews.freebsd.org/D28285
Notes
Notes: svn path=/head/; revision=562363
Diffstat (limited to 'math/ess')
-rw-r--r--math/ess/Makefile2
-rw-r--r--math/ess/files/patch-lisp_ess-r-package.el11
2 files changed, 12 insertions, 1 deletions
diff --git a/math/ess/Makefile b/math/ess/Makefile
index eb87c460c4ff..83fec75a31fb 100644
--- a/math/ess/Makefile
+++ b/math/ess/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ess
DISTVERSION= 18.10.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= http://ess.r-project.org/downloads/ess/ \
http://stat.ethz.ch/ESS/downloads/ess/
diff --git a/math/ess/files/patch-lisp_ess-r-package.el b/math/ess/files/patch-lisp_ess-r-package.el
new file mode 100644
index 000000000000..a367fae3ca47
--- /dev/null
+++ b/math/ess/files/patch-lisp_ess-r-package.el
@@ -0,0 +1,11 @@
+--- lisp/ess-r-package.el.orig 2021-01-22 20:38:19 UTC
++++ lisp/ess-r-package.el
+@@ -557,7 +557,7 @@ package mode. Use this function if state of the buffer
+ (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")