diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-20 23:19:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-20 23:19:31 +0100 |
commit | 8d6cd08573dd226c4ef874bf3786210eee9cf771 (patch) | |
tree | 09a046f38bb2e6300987701740303a9f60cfd855 /gnu/packages/base.scm | |
parent | 066ccc2c69390f630237eadac1f69c03df22b87a (diff) | |
download | guix-8d6cd08573dd226c4ef874bf3786210eee9cf771.tar.gz |
gnu: diffutils: Fix Gnulib/getopt cross-compilation issue.
Previously cross-compilation would fail: CC xvasprintf.o xstrtol-error.c:50:16: warning: 'struct rpl_option' declared inside parameter list int exit_status) ^ xstrtol-error.c: In function 'xstrtol_error': xstrtol-error.c:84:5: error: invalid use of undefined type 'struct rpl_option' * gnu/packages/patches/diffutils-getopt.patch: New file. * gnu/packages/base.scm (diffutils)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index b7680d554a..022ee00758 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -238,7 +238,8 @@ differences.") version ".tar.xz")) (sha256 (base32 - "1mivg0fy3a6fcn535ln8nkgfj6vxh5hsxxs5h6692wxmsjyyh8fn")))) + "1mivg0fy3a6fcn535ln8nkgfj6vxh5hsxxs5h6692wxmsjyyh8fn")) + (patches (search-patches "diffutils-getopt.patch")))) (build-system gnu-build-system) (synopsis "Comparing and merging files") (description |