mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
94b688925f
commit
2bd84c50ff
3 changed files with 41 additions and 1 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue