summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-17 13:30:10 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-17 13:30:10 +0200
commit2d06dfc050114dba44e791d8decc8eaa705fee01 (patch)
tree66235310ff16e5aa16e3fc7ec4431ff49ddaa313
parent89acc4d5c645cf8bdb8f35c490b50f168931bd12 (diff)
gnu: emacs-wordgen: Fix build on 32-bit platforms.
* gnu/packages/emacs-xyz.scm (emacs-wordgen)[arguments]<#:emacs>: Use EMACS-WIDE-INT on 32-bit platforms.
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cc827fb9d5..c1748e7f36 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24411,6 +24411,12 @@ It replaces the standard completions buffer with Ido prompt.")
(sha256
(base32 "06vbc9ycz1nbjwjkg99y3lj6jwb6lnwnmkqf09yr00jjrrfhfash"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:emacs (if (target-64bit?)
+ emacs-minimal
+ ;; Require wide-int support for 32-bit platform.
+ emacs-wide-int)))
(home-page "https://github.com/Fanael/wordgen.el")
(synopsis "Random word generator")
(description "This package provides functions to generate random words