Control: tags 1016279 + patch
Control: tags 1016279 + pending

Dear maintainer,

I've prepared an NMU for libzypp (versioned as 17.25.7-2.2) and uploaded 
it to DELAYED/15. 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-12-09 19:34:44.000000000 +0200
+++ libzypp-17.25.7/debian/changelog	2022-10-06 23:17:51.000000000 +0300
@@ -1,3 +1,10 @@
+libzypp (17.25.7-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add upstream fix for FTBFS with gcc 12. (Closes: #1016279)
+
+ -- Adrian Bunk <b...@debian.org>  Thu, 06 Oct 2022 23:17:51 +0300
+
 libzypp (17.25.7-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libzypp-17.25.7/debian/patches/0001-Fix-building-with-GCC-12.x-release.patch libzypp-17.25.7/debian/patches/0001-Fix-building-with-GCC-12.x-release.patch
--- libzypp-17.25.7/debian/patches/0001-Fix-building-with-GCC-12.x-release.patch	1970-01-01 02:00:00.000000000 +0200
+++ libzypp-17.25.7/debian/patches/0001-Fix-building-with-GCC-12.x-release.patch	2022-10-06 23:16:58.000000000 +0300
@@ -0,0 +1,26 @@
+From 874744548898ec1f3d7f4481cca5b546d416cf6c Mon Sep 17 00:00:00 2001
+From: Martin Liska <mli...@suse.cz>
+Date: Wed, 29 Jun 2022 11:05:01 +0200
+Subject: Fix building with GCC 12.x release.
+
+Add missing header file.
+
+Fixes: #396
+---
+ zypp/base/Random.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/zypp/base/Random.cc b/zypp/base/Random.cc
+index c5dba8083..9f40a3871 100644
+--- a/zypp/base/Random.cc
++++ b/zypp/base/Random.cc
+@@ -1,5 +1,6 @@
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <time.h>
+ #include <zypp/base/Random.h>
+ 
+ 
+-- 
+2.30.2
+
diff -Nru libzypp-17.25.7/debian/patches/series libzypp-17.25.7/debian/patches/series
--- libzypp-17.25.7/debian/patches/series	2021-12-09 19:33:06.000000000 +0200
+++ libzypp-17.25.7/debian/patches/series	2022-10-06 23:17:48.000000000 +0300
@@ -2,3 +2,4 @@
 1003_various-typo-fixes.patch
 1004_fix-fastcgi-includes.patch
 0001-Add-missing-includes-for-GCC-11-bsc-1181874.patch
+0001-Fix-building-with-GCC-12.x-release.patch

Reply via email to