diff --git a/usbguard-gcc13.patch b/usbguard-gcc13.patch new file mode 100644 index 0000000..2229079 --- /dev/null +++ b/usbguard-gcc13.patch @@ -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 + #include ++#include + + namespace usbguard + { diff --git a/usbguard.spec b/usbguard.spec index d26b3bd..50552b0 100644 --- a/usbguard.spec +++ b/usbguard.spec @@ -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}