summary refs log tree commit diff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-06-10 11:10:35 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-06-10 11:10:35 +0200
commitd3c1359fe9256006acf63b1e41b0d9a6ac57a296 (patch)
tree69bae49203d6585794dca3a8aaf0f9670688caf7 /gnu/packages/radio.scm
parent2930d797ec12018658188aaec7eab145b3ce4bd9 (diff)
downloadguix-d3c1359fe9256006acf63b1e41b0d9a6ac57a296.tar.gz
gnu: qsstv: Fix hamlib support.
* gnu/packages/radio.scm (qsstv)[arguments]: Add 'fix-newer-hamlib-support'
  phase.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 300f761eed..369eeed2ac 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"