From: "Paul A. Patience" <paul@apatience.com>
To: 57685@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#57685] [PATCH v2 2/3] gnu: saga: Fix build with newer libHaru.
Date: Mon, 12 Sep 2022 19:25:39 +0000 [thread overview]
Message-ID: <20220912192510.420112-3-paul@apatience.com> (raw)
In-Reply-To: <20220912192510.420112-1-paul@apatience.com>
* gnu/packages/geo.scm (saga)[modules, snippet]: New fields.
---
gnu/packages/geo.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 9734ae66fe..082a55fc91 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2338,7 +2338,14 @@ (define-public saga
(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))
--
2.37.3
next prev parent reply other threads:[~2022-09-12 19:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 19:51 [bug#57685] [PATCH] gnu: libharu: Update to 2.4.1 Paul A. Patience
2022-09-10 9:55 ` Christopher Baines
2022-09-12 19:25 ` [bug#57685] [PATCH v2 0/3] gnu: libharu: Update to 2.4.2 Paul A. Patience
2022-09-12 19:25 ` [bug#57685] [PATCH v2 1/3] " Paul A. Patience
2022-09-12 19:25 ` Paul A. Patience [this message]
2022-09-12 19:25 ` [bug#57685] [PATCH v2 3/3] gnu: vtk: Use system libHaru Paul A. Patience
2022-09-17 17:20 ` bug#57685: [PATCH v2 0/3] gnu: libharu: Update to 2.4.2 Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220912192510.420112-3-paul@apatience.com \
--to=paul@apatience.com \
--cc=57685@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).