Merge pull request #284134 from mfrischknecht/fix-crossfire-server-build

crossfire-server: fix build due to missing `cstdint` include
This commit is contained in:
a-n-n-a-l-e-e 2024-02-08 16:37:04 -08:00 committed by GitHub
commit f1f689a8e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/include/Treasures.h b/include/Treasures.h
index 614078f..a00b4f6 100644
--- a/include/Treasures.h
+++ b/include/Treasures.h
@@ -13,6 +13,8 @@
#ifndef TREASURES_H
#define TREASURES_H
+#include <cstdint>
+
#include "AssetsCollection.h"
extern "C" {

View File

@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
rev = "r${rev}";
};
patches = [
./add-cstdint-include-to-crossfire-server.patch
];
nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python39 ];
hardeningDisable = [ "format" ];