mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: ascii2binary: Fix cross-compilation.
* gnu/packages/textutils.scm (ascii2binary): Fix cross-compilation. [native-inputs]: Add autoconf, automake. [arguments]: Add fix-rpl_malloc phase. Change-Id: Iefaca353490a17f9263431f60db33218a22e914c
This commit is contained in:
parent
de25a21433
commit
579fc61689
1 changed files with 12 additions and 1 deletions
|
@ -441,7 +441,18 @@ (define-public ascii2binary
|
||||||
(base32 "0dc9fxcdmppbs9s06jvq61zbk552laxps0xyk098gj41697ihd96"))))
|
(base32 "0dc9fxcdmppbs9s06jvq61zbk552laxps0xyk098gj41697ihd96"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gettext-minimal))
|
(list gettext-minimal autoconf automake))
|
||||||
|
(arguments (list #:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; AC_FUNC_MALLOC and AC_FUNC_REALLOC usually unneeded
|
||||||
|
;; see https://lists.gnu.org/archive/html/autoconf/2003-02/msg00017.html
|
||||||
|
(add-after 'unpack 'fix-rpl_malloc
|
||||||
|
(lambda _
|
||||||
|
(substitute* "configure.ac"
|
||||||
|
(("AC_FUNC_MALLOC") "")
|
||||||
|
(("AC_FUNC_REALLOC") ""))
|
||||||
|
;; let bootstrap phase run.
|
||||||
|
(delete-file "./configure"))))))
|
||||||
(home-page "https://billposer.org/Software/a2b.html")
|
(home-page "https://billposer.org/Software/a2b.html")
|
||||||
(synopsis "Convert between ASCII, hexadecimal and binary representations")
|
(synopsis "Convert between ASCII, hexadecimal and binary representations")
|
||||||
(description "The two programs are useful for generating test data, for
|
(description "The two programs are useful for generating test data, for
|
||||||
|
|
Loading…
Reference in a new issue