[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/24: gnu: enblend-enfuse: Fix build.
From: |
guix-commits |
Subject: |
03/24: gnu: enblend-enfuse: Fix build. |
Date: |
Sat, 7 May 2022 16:57:43 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 51b716f7f2cf519273371c294ab03d310a246369
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Dec 18 02:07:10 2021 +0100
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.
---
gnu/packages/photo.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index da67d2352e..a7286fcf9a 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -32,6 +32,7 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
+ #:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -404,7 +405,16 @@ overlapping images, as well as some command line tools.")
vigra
zlib))
(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/")
(synopsis "Tools for combining and blending images")
(description
- branch master updated (5320ba2054 -> d2c5754ef1), guix-commits, 2022/05/07
- 02/24: gnu: enblend-enfuse: Remove input labels., guix-commits, 2022/05/07
- 03/24: gnu: enblend-enfuse: Fix build.,
guix-commits <=
- 05/24: gnu: tor: Use G-expressions., guix-commits, 2022/05/07
- 18/24: gnu: lziprecover: Update to 1.23., guix-commits, 2022/05/07
- 12/24: gnu: nsd: Update to 4.4.0., guix-commits, 2022/05/07
- 13/24: gnu: mcelog: Update to 181., guix-commits, 2022/05/07
- 01/24: gnu: Remove linux-libre@4.4 configuration files., guix-commits, 2022/05/07
- 14/24: gnu: rasdaemon: Update to 0.6.8., guix-commits, 2022/05/07
- 23/24: gnu: plzip: Update to 1.10., guix-commits, 2022/05/07
- 17/24: gnu: audit: Update to 3.0.8., guix-commits, 2022/05/07
- 07/24: gnu: epson-inkjet-printer-escpr: Use HTTPS home page., guix-commits, 2022/05/07
- 08/24: gnu: epson-inkjet-printer-escpr: Use new style., guix-commits, 2022/05/07