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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 08 Apr 2025 22:37:54 +0800
with message-id <87zfgq4t31.fsf <at> z572.online>
and subject line Re: [bug#77643] [PATCH] gnu: nano: Fix cross-compiling.
has caused the debbugs.gnu.org bug report #77643,
regarding [PATCH] gnu: nano: Fix cross-compiling.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
77643: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77643
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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"))
+ '())))
(inputs
(list gettext-minimal ncurses))
(home-page "https://www.nano-editor.org/")
base-commit: 1dab24555a494beb3db5a335c675f07043e77f1c
--
2.43.0
[Message part 3 (message/rfc822, inline)]
[Message part 4 (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.