Control: tags 984214 + patch Control: tags 984214 + pending Dear maintainer,
I've prepared an NMU for libzypp (versioned as 17.25.7-2.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru libzypp-17.25.7/debian/changelog libzypp-17.25.7/debian/changelog --- libzypp-17.25.7/debian/changelog 2021-04-29 15:26:29.000000000 +0300 +++ libzypp-17.25.7/debian/changelog 2021-12-09 19:34:44.000000000 +0200 @@ -1,3 +1,10 @@ +libzypp (17.25.7-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for FTBFS with gcc 11. (Closes: #984214) + + -- Adrian Bunk <b...@debian.org> Thu, 09 Dec 2021 19:34:44 +0200 + libzypp (17.25.7-2) unstable; urgency=medium * debian/watch: diff -Nru libzypp-17.25.7/debian/patches/0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch libzypp-17.25.7/debian/patches/0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch --- libzypp-17.25.7/debian/patches/0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch 1970-01-01 02:00:00.000000000 +0200 +++ libzypp-17.25.7/debian/patches/0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch 2021-12-09 19:21:36.000000000 +0200 @@ -0,0 +1,24 @@ +From 1eaf650db88a74836a520e7881ead9b1e1b5d004 Mon Sep 17 00:00:00 2001 +From: Michael Andres <m...@suse.de> +Date: Mon, 19 Apr 2021 09:51:51 +0200 +Subject: Add missing includes for GCC 11 (bsc#1181874) + +--- + tests/zypp/StringV_test.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/zypp/StringV_test.cc b/tests/zypp/StringV_test.cc +index fe9b29827..7b80e0859 100644 +--- a/tests/zypp/StringV_test.cc ++++ b/tests/zypp/StringV_test.cc +@@ -1,6 +1,7 @@ + #include <boost/test/unit_test.hpp> + #include <iostream> + #include <sstream> ++#include <optional> + #include <zypp/base/StringV.h> + + using std::cout; +-- +2.20.1 + diff -Nru libzypp-17.25.7/debian/patches/series libzypp-17.25.7/debian/patches/series --- libzypp-17.25.7/debian/patches/series 2021-01-06 16:59:37.000000000 +0200 +++ libzypp-17.25.7/debian/patches/series 2021-12-09 19:33:06.000000000 +0200 @@ -1,3 +1,4 @@ 1002_cmake-module-path-fix.patch 1003_various-typo-fixes.patch 1004_fix-fastcgi-includes.patch +0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch