Fix build with GCC 13
This commit is contained in:
parent
a7b34bb53f
commit
6763ed0496
12
usbguard-gcc13.patch
Normal file
12
usbguard-gcc13.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
||||
{
|
||||
@ -43,6 +43,8 @@ BuildRequires: systemd
|
||||
Patch1: usbguard-revert-catch.patch
|
||||
Patch2: policykit-dbus-chat-selinux.patch
|
||||
Patch3: usbguard-restore-support-access-control-names.patch
|
||||
# https://github.com/USBGuard/usbguard/pull/582
|
||||
Patch4: usbguard-gcc13.patch
|
||||
|
||||
%description
|
||||
The USBGuard software framework helps to protect your computer against rogue USB
|
||||
@ -108,6 +110,7 @@ daemon.
|
||||
%patch1 -p1 -b .catch
|
||||
%patch2 -p1 -b .policykit
|
||||
%patch3 -p1 -b .access-contol-names
|
||||
%patch4 -p1 -b .gcc13
|
||||
|
||||
# Remove bundled library sources before build
|
||||
rm -rf src/ThirdParty/{Catch,PEGTL}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user