Hello community,

here is the log from the commit of package envoy-proxy for openSUSE:Factory 
checked in at 2020-07-02 23:58:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/envoy-proxy (Old)
 and      /work/SRC/openSUSE:Factory/.envoy-proxy.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "envoy-proxy"

Thu Jul  2 23:58:51 2020 rev:10 rq:818141 version:1.12.2+git.20200109

Changes:
--------
--- /work/SRC/openSUSE:Factory/envoy-proxy/envoy-proxy.changes  2020-05-29 
21:13:37.734379585 +0200
+++ /work/SRC/openSUSE:Factory/.envoy-proxy.new.3060/envoy-proxy.changes        
2020-07-02 23:59:26.089488464 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 15:17:29 UTC 2020 - MichaƂ Rostecki <mroste...@suse.com>
+
+- Add patch which fixes the error occuring for spdlog 1.6.1:
+  * 0007-lua-Handle-the-default-case-in-scriptLog.patch
+
+-------------------------------------------------------------------

New:
----
  0007-lua-Handle-the-default-case-in-scriptLog.patch

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

Other differences:
------------------
++++++ envoy-proxy.spec ++++++
--- /var/tmp/diff_new_pack.khqYcB/_old  2020-07-02 23:59:27.441492940 +0200
+++ /var/tmp/diff_new_pack.khqYcB/_new  2020-07-02 23:59:27.445492953 +0200
@@ -38,6 +38,10 @@
 Patch7:         0005-server-Move-setInitManager-to-TransportSocketFactory.patch
 Patch8:         0006-fix-format.patch
 Patch9:         big-endian-support.patch
+# PATCH-FIX-OPENSUSE 0007-lua-Handle-the-default-case-in-scriptLog.patch
+# Submitted upstream, in review
+# https://github.com/envoyproxy/envoy/pull/11844
+Patch10:        0007-lua-Handle-the-default-case-in-scriptLog.patch
 BuildRequires:  abseil-cpp-source
 BuildRequires:  backward-cpp-devel
 BuildRequires:  bazel-apple-support-source

++++++ 0007-lua-Handle-the-default-case-in-scriptLog.patch ++++++
>From 196ac06e03b7a48e67d91b70c14a471e875e236c Mon Sep 17 00:00:00 2001
From: Michal Rostecki <mroste...@opensuse.org>
Date: Wed, 1 Jul 2020 16:43:03 +0200
Subject: [PATCH] lua: Handle the default case in scriptLog

After spdlog update, not handling the default case there results in
-Werror=switch.

Signed-off-by: Michal Rostecki <mroste...@opensuse.org>
---
 source/extensions/filters/http/lua/lua_filter.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/source/extensions/filters/http/lua/lua_filter.cc 
b/source/extensions/filters/http/lua/lua_filter.cc
index 918fe1bec..657303f00 100644
--- a/source/extensions/filters/http/lua/lua_filter.cc
+++ b/source/extensions/filters/http/lua/lua_filter.cc
@@ -689,6 +689,8 @@ void Filter::scriptLog(spdlog::level::level_enum level, 
const char* message) {
     return;
   case spdlog::level::off:
     NOT_IMPLEMENTED_GCOVR_EXCL_LINE;
+  default:
+    NOT_REACHED_GCOVR_EXCL_LINE;
   }
 }
 
-- 
2.27.0


Reply via email to