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.
This commit is contained in:
Maxim Cournoyer 2020-07-26 23:55:01 -04:00
parent 94b688925f
commit 2bd84c50ff
No known key found for this signature in database
GPG key ID: 1260E46482E63562
3 changed files with 41 additions and 1 deletions

View file

@ -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")))