Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package usbguard for openSUSE:Factory checked in at 2023-03-28 17:51:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/usbguard (Old) and /work/SRC/openSUSE:Factory/.usbguard.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "usbguard" Tue Mar 28 17:51:11 2023 rev:19 rq:1074919 version:1.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/usbguard/usbguard.changes 2022-09-05 21:22:08.293154677 +0200 +++ /work/SRC/openSUSE:Factory/.usbguard.new.31432/usbguard.changes 2023-03-28 17:51:20.659547768 +0200 @@ -1,0 +2,5 @@ +Tue Mar 28 08:25:34 UTC 2023 - Robert Frohl <rfr...@suse.com> + +- Fix build failure with gcc13, add build_gcc13.patch. + +------------------------------------------------------------------- New: ---- build_gcc13.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ usbguard.spec ++++++ --- /var/tmp/diff_new_pack.3iEEWC/_old 2023-03-28 17:51:21.643552516 +0200 +++ /var/tmp/diff_new_pack.3iEEWC/_new 2023-03-28 17:51:21.671552651 +0200 @@ -1,7 +1,7 @@ # # spec file for package usbguard # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,7 @@ Source3: usbguard-daemon.conf Source4: usbguard-rpmlintrc Patch0: usbguard-pthread.patch +Patch1: build_gcc13.patch BuildRequires: asciidoc BuildRequires: audit-devel BuildRequires: autoconf @@ -96,6 +97,7 @@ %prep %setup -q -n usbguard-%{version} %patch0 -p1 +%patch1 -p1 %build %if 0%{?suse_version} == 1500 ++++++ build_gcc13.patch ++++++ diff --git a/src/Library/Base64.cpp b/src/Library/Base64.cpp index ddb28dc..0246a13 100644 --- a/src/Library/Base64.cpp +++ b/src/Library/Base64.cpp @@ -22,7 +22,6 @@ #include "Base64.hpp" #include <stdexcept> -#include <cstdint> namespace usbguard { diff --git a/src/Library/Base64.hpp b/src/Library/Base64.hpp index 0947f21..aa76311 100644 --- a/src/Library/Base64.hpp +++ b/src/Library/Base64.hpp @@ -24,6 +24,7 @@ #include <string> #include <cstddef> +#include <cstdint> namespace usbguard {