diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-26 23:55:01 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-27 00:02:10 -0400 |
commit | 2bd84c50ff7a8dafe83b6aa89cd0f01d5282c621 (patch) | |
tree | 39bbabe8c75c98fa969611f6c62eba3fa6f79c3f /gnu/packages/plotutils.scm | |
parent | 94b688925f3266105df9a0ab835e6b56adf6bc58 (diff) | |
download | guix-2bd84c50ff7a8dafe83b6aa89cd0f01d5282c621.tar guix-2bd84c50ff7a8dafe83b6aa89cd0f01d5282c621.tar.gz |
gnu: plotutils: Fix build on non-x86_64 architectures.
* gnu/packages/patches/plotutils-spline-test.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/plotutils.scm (plotutils)[patches]: Apply it.
Diffstat (limited to 'gnu/packages/plotutils.scm')
-rw-r--r-- | gnu/packages/plotutils.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 8ddc8ebc74..1e182fbb51 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -73,7 +73,12 @@ (substitute* "libplot/z_write.c" (("png_ptr->jmpbuf") "png_jmpbuf (png_ptr)")) - #t)))) + #t)) + (patches + ;; The test suite fails on some architectures such as i686 (see: + ;; https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html). + ;; The following Debian patch works around it. + (search-patches "plotutils-spline-test.patch")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list "--enable-libplotter"))) |