me
/
guix
Archived
1
0
Fork 0

gnu: saga: Fix build with newer libHaru.

* gnu/packages/geo.scm (saga)[modules, snippet]: New fields.

Signed-off-by: Christopher Baines <mail@cbaines.net>
master
Paul A. Patience 2022-09-12 19:25:39 +00:00 committed by Christopher Baines
parent 140a08d44a
commit 229425fa53
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 8 additions and 1 deletions

View File

@ -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))