diff options
author | Paul A. Patience <paul@apatience.com> | 2022-09-12 19:25:39 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-09-17 19:09:45 +0200 |
commit | 229425fa5360391e08292fdb752af3f3e1c3e117 (patch) | |
tree | 4df6773edfb2c19cd6e8a58e669fd2ee9a7f4ead | |
parent | 140a08d44abab24c0476beb201c3d4c21fcde580 (diff) | |
download | guix-229425fa5360391e08292fdb752af3f3e1c3e117.tar.gz |
gnu: saga: Fix build with newer libHaru.
* gnu/packages/geo.scm (saga)[modules, snippet]: New fields. Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r-- | gnu/packages/geo.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 2c3a17a201..008e855b48 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2367,7 +2367,14 @@ visualization.") (version-major version) "/SAGA%20-%20" version "/saga-" version ".tar.gz")) (sha256 - (base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv")))) + (base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv")) + (modules '((guix build utils))) + (snippet + '(substitute* "saga-gis/src/tools/docs/docs_pdf/doc_pdf.cpp" + (("^#include <hpdf\\.h>\n" all) + (string-append all "#include <hpdf_version.h>\n")) + (("\\bHPDF_PROJECTING_SCUARE_END\\b") + "HPDF_PROJECTING_SQUARE_END"))))) (build-system cmake-build-system) (native-inputs (list pkg-config swig)) |