mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: libcmis: Fix FTBFS with Boost >= 1.68.0.
* gnu/packages/libreoffice.scm (libcmis)[arguments]: Add phase to substitute header file name.
This commit is contained in:
parent
436969904c
commit
f6f8645cc9
1 changed files with 10 additions and 1 deletions
|
@ -316,7 +316,16 @@ (define-public libcmis
|
||||||
;; During configure, the boost headers are found, but linking
|
;; During configure, the boost headers are found, but linking
|
||||||
;; fails without the following flag.
|
;; fails without the following flag.
|
||||||
(string-append "--with-boost="
|
(string-append "--with-boost="
|
||||||
(assoc-ref %build-inputs "boost")))))
|
(assoc-ref %build-inputs "boost")))
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'build 'fix-boost-include
|
||||||
|
(lambda _
|
||||||
|
;; This library moved in Boost and the compatibility
|
||||||
|
;; redirect is no longer available since version 1.68.0.
|
||||||
|
(substitute* "src/libcmis/xml-utils.cxx"
|
||||||
|
(("boost/uuid/sha1.hpp")
|
||||||
|
"boost/uuid/detail/sha1.hpp"))
|
||||||
|
#t)))))
|
||||||
(home-page "https://github.com/tdf/libcmis")
|
(home-page "https://github.com/tdf/libcmis")
|
||||||
(synopsis "CMIS client library")
|
(synopsis "CMIS client library")
|
||||||
(description "LibCMIS is a C++ client library for the CMIS interface. It
|
(description "LibCMIS is a C++ client library for the CMIS interface. It
|
||||||
|
|
Loading…
Reference in a new issue