Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2021-07-13 22:37:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and      /work/SRC/openSUSE:Factory/.waybar.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "waybar"

Tue Jul 13 22:37:36 2021 rev:27 rq:906064 version:0.9.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/waybar/waybar.changes    2021-04-19 
21:06:57.408115496 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.2625/waybar.changes  2021-07-13 
22:38:01.465843824 +0200
@@ -1,0 +2,6 @@
+Tue Jul 13 09:50:00 UTC 2021 - Michael Vetter <mvet...@suse.com>
+
+- bsc#1188200 - waybar undefined symbol:
+  Add waybar-0.9.7-fmt-compat.patch
+
+-------------------------------------------------------------------

New:
----
  waybar-0.9.7-fmt-compat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ waybar.spec ++++++
--- /var/tmp/diff_new_pack.jBtaXF/_old  2021-07-13 22:38:01.849840732 +0200
+++ /var/tmp/diff_new_pack.jBtaXF/_new  2021-07-13 22:38:01.849840732 +0200
@@ -27,6 +27,8 @@
 # to get the `date` dependency. and create own tarball
 #Source:         https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
 Source:         %{version}.tar.xz
+# boo#1188200 - 
https://github.com/Alexays/Waybar/commit/368e4813de5356332d1167e8200cb5633e772ed6
+Patch0:         waybar-0.9.7-fmt-compat.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-layer-shell-devel

++++++ waybar-0.9.7-fmt-compat.patch ++++++
>From 368e4813de5356332d1167e8200cb5633e772ed6 Mon Sep 17 00:00:00 2001
From: John Helmert III <jchelme...@posteo.net>
Date: Tue, 29 Jun 2021 21:29:12 -0500
Subject: [PATCH] libfmt >=8.0.0 compatibility

---
 include/util/format.hpp | 4 ++++
 src/modules/clock.cpp   | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/include/util/format.hpp b/include/util/format.hpp
index 288d8f0cd..543a100fb 100644
--- a/include/util/format.hpp
+++ b/include/util/format.hpp
@@ -35,7 +35,11 @@ namespace fmt {
             // The rationale for ignoring it is that the only reason to specify
             // an alignment and a with is to get a fixed width bar, and ">" is
             // sufficient in this implementation.
+#if FMT_VERSION < 80000
             width = parse_nonnegative_int(it, end, ctx);
+#else
+            width = detail::parse_nonnegative_int(it, end, -1);
+#endif
           }
           return it;
         }
diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp
index 22bedc783..82c570102 100644
--- a/src/modules/clock.cpp
+++ b/src/modules/clock.cpp
@@ -196,6 +196,9 @@ template <>
 struct fmt::formatter<waybar_time> : fmt::formatter<std::tm> {
   template <typename FormatContext>
   auto format(const waybar_time& t, FormatContext& ctx) {
+#if FMT_VERSION >= 80000
+       auto& tm_format = specs;
+#endif
     return format_to(ctx.out(), "{}", date::format(t.locale, 
fmt::to_string(tm_format), t.ztime));
   }
 };

Reply via email to