mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: enblend-enfuse: Fix build.
* gnu/packages/photo.scm (enblend-enfuse)[arguments]: Rewrite as a keyword/gexp list. Add a new 'add-missing-include phase to build with a recent GCC.
This commit is contained in:
parent
db5c49fc62
commit
51b716f7f2
1 changed files with 11 additions and 1 deletions
|
@ -32,6 +32,7 @@ (define-module (gnu packages photo)
|
||||||
#:use-module (guix build-system meson)
|
#:use-module (guix build-system meson)
|
||||||
#:use-module (guix build-system perl)
|
#:use-module (guix build-system perl)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
@ -404,7 +405,16 @@ (define-public enblend-enfuse
|
||||||
vigra
|
vigra
|
||||||
zlib))
|
zlib))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags `("--enable-openmp")))
|
(list #:configure-flags
|
||||||
|
#~(list "--enable-openmp")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'add-missing-include
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/minimizer.h"
|
||||||
|
;; Fix error: ‘numeric_limits’ is not a member of ‘std’.
|
||||||
|
(("#include <vector>" line)
|
||||||
|
(string-append line "\n#include <limits>"))))))))
|
||||||
(home-page "http://enblend.sourceforge.net/")
|
(home-page "http://enblend.sourceforge.net/")
|
||||||
(synopsis "Tools for combining and blending images")
|
(synopsis "Tools for combining and blending images")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue