[draco] Fix build failure on gcc 11 (#18001)

* [draco] Fix build failure on gcc 11

* update version record
This commit is contained in:
Jack·Boos·Yu 2021-05-21 15:39:04 +08:00 committed by GitHub
parent eed75c0ad5
commit 6cec5c0dbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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"
}

View File

@ -1726,7 +1726,7 @@
},
"draco": {
"baseline": "1.3.6",
"port-version": 1
"port-version": 2
},
"drlibs": {
"baseline": "2019-08-12",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d306b49fab537cd9980ce5de0c994372a1300777",
"version": "1.3.6",
"port-version": 2
},
{
"git-tree": "c3690271c81d83c2016d5710acaa76a94d6d78b8",
"version": "1.3.6",