Dominique Leuenberger
70e8756a72
- 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). OBS-URL: https://build.opensuse.org/request/show/930766 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/PackageKit?expand=0&rev=424
15 lines
448 B
Diff
15 lines
448 B
Diff
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',
|