[med-svn] [Git][med-team/quorum][master] 3 commits: Fix build with gcc-12

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Jul 25 08:40:32 BST 2022



Andreas Tille pushed to branch master at Debian Med / quorum


Commits:
ca1cec23 by Andreas Tille at 2022-07-25T09:37:43+02:00
Fix build with gcc-12

- - - - -
fe423787 by Andreas Tille at 2022-07-25T09:38:10+02:00
routine-update: Standards-Version: 4.6.1

- - - - -
fa53dedc by Andreas Tille at 2022-07-25T09:39:27+02:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/gcc-12.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+quorum (1.1.1-7) unstable; urgency=medium
+
+  * Fix build with gcc-12
+    Closes: #1013026
+  * Standards-Version: 4.6.1 (routine-update)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 25 Jul 2022 09:38:18 +0200
+
 quorum (1.1.1-6) unstable; urgency=medium
 
   * d/control: update my uploader address


=====================================
debian/control
=====================================
@@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 13),
                jellyfish,
                yaggo,
                pkg-config
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/med-team/quorum
 Vcs-Git: https://salsa.debian.org/med-team/quorum.git
 Homepage: https://github.com/gmarcais/Quorum


=====================================
debian/patches/gcc-12.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix build with gcc-12
+Bug-Debian: https://bugs.debian.org/1013026
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 25 Jul 2022 09:34:19 +0200
+
+--- a/src/err_log.hpp
++++ b/src/err_log.hpp
+@@ -39,7 +39,7 @@ private:
+     entry(type_t t, T p) : type(t), pos(p) {}
+   };
+ 
+-  struct greater_than_pos : std::unary_function<entry, bool> {
++  struct greater_than_pos {
+     T pos;
+     bool operator()(entry& e) { return e.pos >= *pos; } // Compare the raw value of pos, not using the operator>=
+     greater_than_pos(T& pos_) : pos(pos_) { }


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+gcc-12.patch



View it on GitLab: https://salsa.debian.org/med-team/quorum/-/compare/a9fa773313492cc06495ae479d492d2daa86cb81...fa53dedc5f9c2b0f6a4d6ab089c587cd22ec62fa

-- 
View it on GitLab: https://salsa.debian.org/med-team/quorum/-/compare/a9fa773313492cc06495ae479d492d2daa86cb81...fa53dedc5f9c2b0f6a4d6ab089c587cd22ec62fa
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220725/e9b28b5e/attachment-0001.htm>


More information about the debian-med-commit mailing list