guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: libarcus: Fix compatibility with newer proto


From: guix-commits
Subject: branch master updated: gnu: libarcus: Fix compatibility with newer protobuf.
Date: Fri, 18 Nov 2022 09:03:11 -0500

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 383b0f0590 gnu: libarcus: Fix compatibility with newer protobuf.
383b0f0590 is described below

commit 383b0f05904c5dac8238eeff96ca16873d9c5984
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Nov 18 15:00:27 2022 +0100

    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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]