gnu: js8call: Remove workaround.
* gnu/packages/radio.scm (js8call)[arguments]: Remove 'work-around-runtime-bug' phase.
This commit is contained in:
parent
3f2bb5ce64
commit
6718fe7e87
1 changed files with 2 additions and 15 deletions
|
@ -1224,19 +1224,7 @@ weak-signal conditions.")
|
||||||
(("DESTINATION /usr/share")
|
(("DESTINATION /usr/share")
|
||||||
(string-append "DESTINATION "
|
(string-append "DESTINATION "
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
"/share")))
|
"/share")))))
|
||||||
#t))
|
|
||||||
(add-after 'fix-paths 'work-around-runtime-bug
|
|
||||||
(lambda _
|
|
||||||
;; Some of the programs in this package fail to find symbols
|
|
||||||
;; in libm at runtime. Adding libm manually at the end of the
|
|
||||||
;; library lists when linking the programs seems to help.
|
|
||||||
;; TODO: find exactly what is wrong in the way the programs
|
|
||||||
;; are built.
|
|
||||||
(substitute* "CMakeLists.txt"
|
|
||||||
(("target_link_libraries \\((.*)\\)" all libs)
|
|
||||||
(string-append "target_link_libraries (" libs " m)")))
|
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'fix-hamlib
|
(add-after 'unpack 'fix-hamlib
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "CMake/Modules/Findhamlib.cmake"
|
(substitute* "CMake/Modules/Findhamlib.cmake"
|
||||||
|
@ -1246,8 +1234,7 @@ weak-signal conditions.")
|
||||||
set (ENV{PKG_CONFIG_PATH} \"${__pc_path}\")"))
|
set (ENV{PKG_CONFIG_PATH} \"${__pc_path}\")"))
|
||||||
(substitute* "HamlibTransceiver.hpp"
|
(substitute* "HamlibTransceiver.hpp"
|
||||||
(("#ifdef JS8_USE_LEGACY_HAMLIB")
|
(("#ifdef JS8_USE_LEGACY_HAMLIB")
|
||||||
"#if 1"))
|
"#if 1")))))))
|
||||||
#t)))))
|
|
||||||
(synopsis "Weak-signal ham radio communication program")
|
(synopsis "Weak-signal ham radio communication program")
|
||||||
(description
|
(description
|
||||||
"JS8Call is a software using the JS8 digital mode (a derivative of the FT8
|
"JS8Call is a software using the JS8 digital mode (a derivative of the FT8
|
||||||
|
|
Reference in a new issue