aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/draco/fix-build-error-in-gcc11.patch16
-rw-r--r--ports/draco/vcpkg.json2
2 files changed, 17 insertions, 1 deletions
diff --git a/ports/draco/fix-build-error-in-gcc11.patch b/ports/draco/fix-build-error-in-gcc11.patch
index d1e5536d7..94f24ff6d 100644
--- a/ports/draco/fix-build-error-in-gcc11.patch
+++ b/ports/draco/fix-build-error-in-gcc11.patch
@@ -1,3 +1,19 @@
+diff --git a/src/draco/core/hash_utils.h b/src/draco/core/hash_utils.h
+index dd910d0..aa61523 100644
+--- a/src/draco/core/hash_utils.h
++++ b/src/draco/core/hash_utils.h
+@@ -17,10 +17,9 @@
+
+ #include <stdint.h>
+
++#include <cstddef>
+ #include <functional>
+
+-// TODO(fgalligan): Move this to core.
+-
+ namespace draco {
+
+ template <typename T1, typename T2>
diff --git a/src/draco/io/parser_utils.cc b/src/draco/io/parser_utils.cc
index 3c302b9..adca2ac 100644
--- a/src/draco/io/parser_utils.cc
diff --git a/ports/draco/vcpkg.json b/ports/draco/vcpkg.json
index 4a78edff6..68a63f721 100644
--- a/ports/draco/vcpkg.json
+++ b/ports/draco/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "draco",
"version": "1.3.6",
- "port-version": 1,
+ "port-version": 2,
"description": " A library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.",
"homepage": "https://github.com/google/draco"
}