This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d3c1359  gnu: qsstv: Fix hamlib support.
d3c1359 is described below

commit d3c1359fe9256006acf63b1e41b0d9a6ac57a296
Author: Guillaume Le Vaillant <[email protected]>
AuthorDate: Thu Jun 10 11:10:35 2021 +0200

    gnu: qsstv: Fix hamlib support.
    
    * gnu/packages/radio.scm (qsstv)[arguments]: Add 'fix-newer-hamlib-support'
      phase.
---
 gnu/packages/radio.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 300f761..369eeed 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -1406,6 +1406,11 @@ NanoVNA vector network analyzers.")
      `(#:tests? #f  ; No test suite.
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-newer-hamlib-support
+           (lambda _
+             (substitute* "qsstv/rig/rigcontrol.cpp"
+               (("FILPATHLEN")
+                "HAMLIB_FILPATHLEN"))))
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
              (invoke "qmake"

Reply via email to