mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[robin-hood-hashing] Add missing <cstdint> header as a patch (#48009)
This commit is contained in:
committed by
GitHub
parent
13b79f35f3
commit
3fa772aed7
12
ports/robin-hood-hashing/fix-missing-stdint.patch
Normal file
12
ports/robin-hood-hashing/fix-missing-stdint.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/include/robin_hood.h b/src/include/robin_hood.h
|
||||
index b4e0fbc..405e67d 100644
|
||||
--- a/src/include/robin_hood.h
|
||||
+++ b/src/include/robin_hood.h
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
@@ -4,6 +4,8 @@ vcpkg_from_github(
|
||||
REF 3.11.5
|
||||
SHA512 5f73e089b1e8ec41a9bedded22bc64a789d3a3d04873a2ad9f8cc2970797a473b0f4d3436c2324b3ced85a0d983998a75b1dfaf2b7f3b77235b29806ff2fd489
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-missing-stdint.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "robin-hood-hashing",
|
||||
"version": "3.11.5",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20",
|
||||
"homepage": "https://github.com/martinus/robin-hood-hashing",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -8546,7 +8546,7 @@
|
||||
},
|
||||
"robin-hood-hashing": {
|
||||
"baseline": "3.11.5",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"robin-map": {
|
||||
"baseline": "1.4.0",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1a989171742275cc32060ed37157eeb0efcdc739",
|
||||
"version": "3.11.5",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "25ce100807060e0a7cf0c0f8f0bed52bca9a4ea8",
|
||||
"version": "3.11.5",
|
||||
|
||||
Reference in New Issue
Block a user