From 383b0f05904c5dac8238eeff96ca16873d9c5984 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 18 Nov 2022 15:00:27 +0100 Subject: gnu: libarcus: Fix compatibility with newer protobuf. * gnu/packages/engineering.scm (libarcus)[arguments]: Add 'fix-protobuf-compatibility' phase. --- gnu/packages/engineering.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b6a881d03b..21569b07c9 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3431,6 +3431,11 @@ BOM creation and has a lot of extra features.") #:configure-flags '("-DBUILD_EXAMPLES=OFF") #: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 (lambda* (#:key outputs #:allow-other-keys) (substitute* "cmake/FindSIP.cmake" -- cgit v1.2.3