gnu: qsstv: Fix hamlib support.

* gnu/packages/radio.scm (qsstv)[arguments]: Add 'fix-newer-hamlib-support'
  phase.
This commit is contained in:
Guillaume Le Vaillant 2021-06-10 11:10:35 +02:00
parent 2930d797ec
commit d3c1359fe9
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1406,6 +1406,11 @@ (define-public qsstv
`(#:tests? #f ; No test suite. `(#:tests? #f ; No test suite.
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-newer-hamlib-support
(lambda _
(substitute* "qsstv/rig/rigcontrol.cpp"
(("FILPATHLEN")
"HAMLIB_FILPATHLEN"))))
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "qmake" (invoke "qmake"