lol

usbguard-notifier: fix build against `gcc-13`

Without the change `usbguard-notifier` fails the build on `staging-next`
as:

In file included from src/Notifier.hpp:24,
from src/Main.cpp:21:
src/Serializer.hpp:35:5: error: 'uint32_t' does not name a type
35 | uint32_t device_id;
| ^~~~~~~~
src/Serializer.hpp:25:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
24 | #include <map>
+++ |+#include <cstdint>
25 | #include <string>

+11
+11
pkgs/os-specific/linux/usbguard-notifier/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + fetchpatch, 5 6 autoreconfHook, 6 7 pkg-config, 7 8 libqb, ··· 22 23 rev = "${pname}-${version}"; 23 24 hash = "sha256-gWvCGSbOuey2ELAPD2WCG4q77IClL0S7rE2RaUJDc1I="; 24 25 }; 26 + 27 + patches = [ 28 + # gcc-13 compatibility upstream fix: 29 + # https://github.com/Cropi/usbguard-notifier/pull/74 30 + (fetchpatch { 31 + name = "gcc-13.patch"; 32 + url = "https://github.com/Cropi/usbguard-notifier/commit/f4586b732c8a7379aacbc9899173beeacfd54793.patch"; 33 + hash = "sha256-2q/qD6yEQUPxA/UutGIZKFJ3hHJ8ZlGMZI1wJyMRbmo="; 34 + }) 35 + ]; 25 36 26 37 nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ]; 27 38 buildInputs = [ libqb usbguard librsvg libnotify ];