diff -pruN 5.8.1+ds-2/debian/changelog 5.8.1+ds-3/debian/changelog
--- 5.8.1+ds-2/debian/changelog	2021-12-02 22:27:00.000000000 +0000
+++ 5.8.1+ds-3/debian/changelog	2022-07-31 19:04:09.000000000 +0000
@@ -1,3 +1,12 @@
+ignition-msgs5 (5.8.1+ds-3) unstable; urgency=medium
+
+  * Team upload.
+  * Add branch to Vcs-Git:
+  * Add patch for new protobuf.
+    Thanks to László Böszörményi (Closes: #1012574)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Sun, 31 Jul 2022 21:04:09 +0200
+
 ignition-msgs5 (5.8.1+ds-2) unstable; urgency=medium
 
   [ Jochen Sprickerhof ]
diff -pruN 5.8.1+ds-2/debian/control 5.8.1+ds-3/debian/control
--- 5.8.1+ds-2/debian/control	2021-12-02 22:27:00.000000000 +0000
+++ 5.8.1+ds-3/debian/control	2022-07-31 19:00:48.000000000 +0000
@@ -17,7 +17,7 @@ Build-Depends: cmake,
 Standards-Version: 4.6.0
 Rules-Requires-Root: no
 Vcs-Browser: https://salsa.debian.org/science-team/ignition-msgs
-Vcs-Git: https://salsa.debian.org/science-team/ignition-msgs.git
+Vcs-Git: https://salsa.debian.org/science-team/ignition-msgs.git -b master_v5
 Homepage: https://ignitionrobotics.org/libs/msgs
 
 Package: libignition-msgs5-5
diff -pruN 5.8.1+ds-2/debian/patches/protobuf.patch 5.8.1+ds-3/debian/patches/protobuf.patch
--- 5.8.1+ds-2/debian/patches/protobuf.patch	1970-01-01 00:00:00.000000000 +0000
+++ 5.8.1+ds-3/debian/patches/protobuf.patch	2022-07-31 19:01:18.000000000 +0000
@@ -0,0 +1,33 @@
+Description: fix Protobuf FTBFS
+ SetTotalBytesLimit no longer has second argument.
+Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Forwarded: no
+Last-Update: 2022-06-06
+
+---
+
+--- ignition-msgs5-5.8.1+ds.orig/src/Generator.cc
++++ ignition-msgs5-5.8.1+ds/src/Generator.cc
+@@ -67,7 +67,7 @@ Generator::~Generator()
+ 
+ /////////////////////////////////////////////////
+ bool Generator::Generate(const FileDescriptor *_file,
+-                               const string &/*_parameter*/,
++                               const std::string &/*_parameter*/,
+                                OutputDirectory *_generatorContext,
+                                std::string * /*_error*/) const
+ {
+--- ignition-msgs5-5.8.1+ds.orig/src/Generator.hh
++++ ignition-msgs5-5.8.1+ds/src/Generator.hh
+@@ -44,9 +44,9 @@ class Generator : public CodeGenerator
+   /// \param[in] _generatorContext Output directory.
+   /// \param[in] _error Unused string value
+   public: virtual bool Generate(const FileDescriptor *_file,
+-              const string &_parameter,
++              const std::string &_parameter,
+               OutputDirectory *_generatorContext,
+-              string *_error) const;
++              std::string *_error) const;
+ 
+   // private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Generator);
+ };
diff -pruN 5.8.1+ds-2/debian/patches/series 5.8.1+ds-3/debian/patches/series
--- 5.8.1+ds-2/debian/patches/series	2021-12-02 22:27:00.000000000 +0000
+++ 5.8.1+ds-3/debian/patches/series	2022-07-31 19:01:38.000000000 +0000
@@ -1 +1,2 @@
 0001_use_system_gtest.patch
+protobuf.patch
