GNU bug report logs -
#77643
[PATCH] gnu: nano: Fix cross-compiling.
Previous Next
Reported by: Andy Tai <atai <at> atai.org>
Date: Tue, 8 Apr 2025 13:41:03 UTC
Severity: normal
Tags: patch
Done: Z572 <z572 <at> z572.online>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 77643-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Andy Tai <atai <at> atai.org> writes:
> * gnu/packages/text-editors.scm (nano)[arguments]<#:configure-flags>: When
> cross-compiling, add "ac_cv_func_strcasecmp=yes"
> "gl_cv_func_strcasecmp_works=yes".
>
> Change-Id: Ie024ebdba51efe01ab41872f85479525851e3e3a
> ---
> gnu/packages/text-editors.scm | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
> index 08af5e33a32..99216e61786 100644
> --- a/gnu/packages/text-editors.scm
> +++ b/gnu/packages/text-editors.scm
> @@ -1002,6 +1002,11 @@ (define-public nano
> (sha256
> (base32 "13b2iqmbx5vcyd0rnvvc9l8l79q6665r4xx6gvc28mnmpci95ljs"))))
> (build-system gnu-build-system)
> + (arguments
> + `(,@(if (%current-target-system)
> + ; fix for crosscompiling; on GNU system strcasecmp always works
> + `(#:configure-flags (list "ac_cv_func_strcasecmp=yes" "gl_cv_func_strcasecmp_works=yes"))
> + '())))
adjust to use gexp.
> (inputs
> (list gettext-minimal ncurses))
> (home-page "https://www.nano-editor.org/")
>
> base-commit: 1dab24555a494beb3db5a335c675f07043e77f1c
pushed, closing.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.