mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: libarcus: Fix compatibility with newer protobuf.
* gnu/packages/engineering.scm (libarcus)[arguments]: Add 'fix-protobuf-compatibility' phase.
This commit is contained in:
parent
8cbd51d2d5
commit
383b0f0590
1 changed files with 5 additions and 0 deletions
|
@ -3431,6 +3431,11 @@ (define-public libarcus
|
||||||
#:configure-flags '("-DBUILD_EXAMPLES=OFF")
|
#:configure-flags '("-DBUILD_EXAMPLES=OFF")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-protobuf-compatibility
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/Socket_p.h"
|
||||||
|
(("stream\\.SetTotalBytesLimit\\(message_size_maximum,.*\\);")
|
||||||
|
"stream.SetTotalBytesLimit(message_size_maximum);"))))
|
||||||
(add-before 'configure 'fix-python-sitearch
|
(add-before 'configure 'fix-python-sitearch
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "cmake/FindSIP.cmake"
|
(substitute* "cmake/FindSIP.cmake"
|
||||||
|
|
Loading…
Reference in a new issue