Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package PackageKit for openSUSE:Factory 
checked in at 2021-11-15 00:06:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PackageKit (Old)
 and      /work/SRC/openSUSE:Factory/.PackageKit.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PackageKit"

Mon Nov 15 00:06:17 2021 rev:223 rq:930858 version:1.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes    2021-11-06 
18:18:33.992901185 +0100
+++ /work/SRC/openSUSE:Factory/.PackageKit.new.1890/PackageKit.changes  
2021-11-15 00:06:24.647605266 +0100
@@ -1,0 +2,7 @@
+Fri Nov  5 12:07:00 UTC 2021 - Jonathan Kang <songchuan.k...@suse.com>
+
+- Add PackageKit-zypp-c++17.patch: Fix build failure when building
+  with libzypp > 17.28.5 and gcc < 11
+  (gh#hughsie/PackageKit/commit/1a6bb6ae6, bsc#1192349).
+
+-------------------------------------------------------------------
@@ -358 +365 @@
-------------------------------------------------------------------
+-------------------------------------------------------------------

New:
----
  PackageKit-zypp-c++17.patch

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

Other differences:
------------------
++++++ PackageKit.spec ++++++
--- /var/tmp/diff_new_pack.ElSNE3/_old  2021-11-15 00:06:25.679606107 +0100
+++ /var/tmp/diff_new_pack.ElSNE3/_new  2021-11-15 00:06:25.683606110 +0100
@@ -55,7 +55,9 @@
 # PATCH-FIX-UPSTREAM PackageKit-fix-crash-pre-dbus.patch 
gh#hughsie/PackageKit!436 -- Do not crash when calling pk_dbus_get_uid() before 
D-Bus is  setup
 Patch5:         PackageKit-fix-crash-pre-dbus.patch
 # PATCH-FIX-UPSTREAM PackageKit-zypp-fix-crash-with-empty-search-string.patch 
gh#hughsie/PackageKit/commit#21ccf49, bsc#1179287 sck...@suse.com -- zypp: Fix 
crash when search string is NULL
-Patch12:        PackageKit-zypp-fix-crash-with-empty-search-string.patch
+Patch6:         PackageKit-zypp-fix-crash-with-empty-search-string.patch
+# PATCH-FIX-SLE PackageKit-zypp-c++17.patch 
gh#hughsie/PackageKit/commit/1a6bb6ae6, bsc#1192349 sck...@suse.com -- Fix 
build failure when building with libzypp > 17.28.5 and gcc < 11.
+Patch1000:      PackageKit-zypp-c++17.patch
 
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -270,7 +272,11 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%autosetup -N
+%autopatch -p1 -M 1000
+%if 0%{?sle_version} > 150300 && 0%{?sle_version} < 160000
+%patch1000 -p1
+%endif
 
 %build
 %meson \


++++++ PackageKit-zypp-c++17.patch ++++++
Index: PackageKit-1.2.2/backends/zypp/meson.build
===================================================================
--- PackageKit-1.2.2.orig/backends/zypp/meson.build
+++ PackageKit-1.2.2/backends/zypp/meson.build
@@ -22,7 +22,8 @@ shared_module(
     '-DG_LOG_DOMAIN="PackageKit-Zypp"',
     '-Wall',
     '-Woverloaded-virtual',
-    '-Wnon-virtual-dtor'
+    '-Wnon-virtual-dtor',
+    '-std=c++1z'
   ],
   c_args: [
     '-Wno-deprecated',

Reply via email to