Files
nixpkgs/pkgs/by-name/sy/synergy/include_cstdint.patch
Manuel Frischknecht 17f0d867e6 synergy: fix missing include to <cstdint>
The upgrade to GCC 15 broke the build because `cstdint` isn't getting
transitively included via some other headers anymore [1].

This has been fixed in newer 1.x versions of synergy, but those include
some more drastic changes that would need to be addressed in Nixpkgs
(such as, at least, in the NixOS and nix-darwin synergy modules).

I've opened a PR for the update here [2], but this patch is a simpler
quick fix we can implement before that's sorted out.

[1]: https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes
[2]: https://github.com/NixOS/nixpkgs/pull/486784
2026-02-06 20:13:44 +01:00

13 lines
378 B
Diff

diff --git a/src/lib/server/InputFilter.cpp b/src/lib/server/InputFilter.cpp
index da29f5b..65c500f 100755
--- a/src/lib/server/InputFilter.cpp
+++ b/src/lib/server/InputFilter.cpp
@@ -26,6 +26,7 @@
#include <cstdlib>
#include <cstring>
+#include <cstdint>
// -----------------------------------------------------------------------------
// Input Filter Condition Classes