maelstrom: fix build with gcc14

- add patch with `#include <time.h>` fixing:
`error: implicit declaration of function 'time'`

ghpzin 756b7e3f 0a5d47a7

+14
+12
pkgs/by-name/ma/maelstrom/add-maelstrom-netd-include-time.diff
··· 1 + diff --git a/Maelstrom-netd.c b/Maelstrom-netd.c 2 + index 3e6e942..41ed9a5 100644 3 + --- a/Maelstrom-netd.c 4 + +++ b/Maelstrom-netd.c 5 + @@ -13,6 +13,7 @@ 6 + #include <arpa/inet.h> 7 + #include <netdb.h> 8 + #include <unistd.h> 9 + +#include <time.h> 10 + 11 + /* We wait in a loop for players to connect and tell us how many people 12 + are playing. Then, once all players have connected, then we broadcast
+2
pkgs/by-name/ma/maelstrom/package.nix
··· 21 21 ./fix-compilation.patch 22 22 # removes register keyword 23 23 ./c++17-fixes.diff 24 + # fix build with gcc14 25 + ./add-maelstrom-netd-include-time.diff 24 26 ]; 25 27 26 28 buildInputs = [