Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1Resolve messy situation with uintptr_t and stdint.h 2 3Platforms common in nixpkgs will have stdint.h - thereby we avoid problems 4that seem complicated to avoid. References: 5https://gitlab.com/cmocka/cmocka/-/issues/38#note_1286565655 6https://git.alpinelinux.org/aports/plain/main/cmocka/musl_uintptr.patch?id=6a15dd0d0ba9cc354a621fb359ca5e315ff2eabd 7 8It isn't easy, as 1.1.6 codebase is missing stdint.h includes on many places, 9and HAVE_UINTPTR_T from cmake also wouldn't get on all places it needs to. 10--- a/include/cmocka.h 11+++ b/include/cmocka.h 12@@ -18,2 +18,4 @@ 13 #define CMOCKA_H_ 14+#include <stdint.h> 15+#define HAVE_UINTPTR_T 1 16