[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/17: gnu: emacs-buttercup: Fix build with native compilation.
From: |
guix-commits |
Subject: |
04/17: gnu: emacs-buttercup: Fix build with native compilation. |
Date: |
Fri, 24 Mar 2023 05:14:33 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 29be505fceb63d53d1f47312c913e682d19a03d7
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Mon Mar 20 22:13:40 2023 -0400
gnu: emacs-buttercup: Fix build with native compilation.
* gnu/packages/emacs-xyz.scm (emacs-buttercup)[phases]{fix-spy-on-test}: New
phase.
The spy-on test fails with native compilation, which was fixed in v1.30 but
with a variable name for newer versions than stable Emacs. Here we add the
same fix but using the current variable name.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/emacs-xyz.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6e4069cb7c..00c4cf5913 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27190,6 +27190,16 @@ targets the Emacs based IDEs (CIDER, ESS, Geiser,
Robe, SLIME etc.)")
#:test-command #~(list "make" "test")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-spy-on-test
+ (lambda _
+ (substitute* "buttercup.el"
+ ;; The spy-on test fails with native compilation, which was
+ ;; fixed in v1.30 but with a variable name for Emacs newer
+ ;; than 28.2. Add in the same fix with the current variable
+ ;; name. Upstream bug and fix:
+ ;;
<https://github.com/jorgenschaefer/emacs-buttercup/issues/236>
+ (("\\(native-comp-enable-subr-trampolines nil\\)" all)
+ (string-append all " (comp-enable-subr-trampolines nil)")))))
(add-after 'install 'install-bin
(lambda _
(install-file "bin/buttercup"
- branch master updated (71651996d1 -> 34f2d3aad7), guix-commits, 2023/03/24
- 04/17: gnu: emacs-buttercup: Fix build with native compilation.,
guix-commits <=
- 05/17: gnu: Add emacs-nyxt., guix-commits, 2023/03/24
- 06/17: gnu: emacs-subed: Update to 1.2.1., guix-commits, 2023/03/24
- 03/17: gnu: Add emacs-column-enforce-mode., guix-commits, 2023/03/24
- 02/17: gnu: Add texlive-ddphonism., guix-commits, 2023/03/24
- 11/17: gnu: emacs-org-jira: Improve packages style., guix-commits, 2023/03/24
- 10/17: gnu: emacs-org-jira: Update to 4.4.1., guix-commits, 2023/03/24
- 14/17: gnu: emacs-php-mode: Run tests., guix-commits, 2023/03/24
- 01/17: gnu: Add emacs-jit-spell., guix-commits, 2023/03/24
- 16/17: gnu: emacs-telephone-line: Update to 0.6., guix-commits, 2023/03/24
- 12/17: gnu: emacs-org-jira: Run tests., guix-commits, 2023/03/24