aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-28 14:35:47 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-29 10:06:18 +0200
commitc2c36f5fab31d7c79ea510d61cb158ee15dda310 (patch)
tree71cb2d27261a509c0efb93492d06d2dcabbbae61
parentb0069a6777121e3f52a5a9bc07c19e054d9d082b (diff)
downloadguix-c2c36f5fab31d7c79ea510d61cb158ee15dda310.tar
guix-c2c36f5fab31d7c79ea510d61cb158ee15dda310.tar.gz
gnu: openexr: Install 'ImfStdIO.h'.
* gnu/packages/graphics.scm (openexr)[source](snippet): Modify IlmImf/Makefile.in so that it installs 'ImfStdIO.h'.
-rw-r--r--gnu/packages/graphics.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index ca99cd0302..0ca2e84ee6 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -211,9 +211,17 @@ exception-handling library.")
"0ca2j526n4wlamrxb85y2jrgcv0gf21b3a19rr0gh4rjqkv1581n"))
(modules '((guix build utils)))
(snippet
- '(substitute* (find-files "." "tmpDir\\.h")
- (("\"/var/tmp/\"")
- "\"/tmp/\"")))
+ '(begin
+ (substitute* (find-files "." "tmpDir\\.h")
+ (("\"/var/tmp/\"")
+ "\"/tmp/\""))
+
+ ;; Install 'ImfStdIO.h'. Reported at
+ ;; <https://lists.nongnu.org/archive/html/openexr-devel/2016-06/msg00001.html>
+ ;; and <https://github.com/openexr/openexr/pull/184>.
+ (substitute* "IlmImf/Makefile.in"
+ (("ImfIO\\.h")
+ "ImfIO.h ImfStdIO.h"))))
(patches (search-patches "openexr-missing-samples.patch"))))
(build-system gnu-build-system)
(arguments