diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-05-21 15:39:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-21 00:39:04 -0700 |
| commit | 6cec5c0dbf26ce11922ce18ab309d6109586d578 (patch) | |
| tree | c33b66bdc3d7e83fed916c6746db6e546472228b /ports | |
| parent | eed75c0ad57c9e41537f4006debca6cdd7021f25 (diff) | |
| download | vcpkg-6cec5c0dbf26ce11922ce18ab309d6109586d578.tar.gz vcpkg-6cec5c0dbf26ce11922ce18ab309d6109586d578.zip | |
[draco] Fix build failure on gcc 11 (#18001)
* [draco] Fix build failure on gcc 11
* update version record
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/draco/fix-build-error-in-gcc11.patch | 16 | ||||
| -rw-r--r-- | ports/draco/vcpkg.json | 2 |
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" } |
