From 9ef9a89d9526e7eef3a82f6301851e5a3df96502 Mon Sep 17 00:00:00 2001
From: Dale Glass <dale@daleglass.net>
Date: Sun, 9 May 2021 18:13:58 +0200
Subject: [PATCH] Fix draco compilation on gcc11

The previous version breaks on Fedora 34, and likely other distros
with recent compilers due to not including cstddef and limits headers.

This is already fixed upstream, but only in master. And looking at
google/draco#704 there may be compatibility issues with using the
latest code.

So for now we're upgrading from 1.3.3 to 1.3.6 and adding the fix.
---
 cmake/ports/draco/portfile.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmake/ports/draco/portfile.cmake b/cmake/ports/draco/portfile.cmake
index 853d45e862..cc6e9e5f8f 100644
--- a/cmake/ports/draco/portfile.cmake
+++ b/cmake/ports/draco/portfile.cmake
@@ -19,9 +19,9 @@ include(vcpkg_common_functions)
 
 vcpkg_from_github(
     OUT_SOURCE_PATH SOURCE_PATH
-    REPO google/draco
-    REF 1.3.3
-    SHA512 80ed5a623046822f5bb26b2454c8ee8cc93ffe9eb3012e8461cefdfc577b26d69a92ea0f0c5e14f5f48c1ef99f9a7263b01710df376792e74358ae14e49c3897
+    REPO vircadia/draco
+    REF 1.3.5-fixed
+    SHA512 68bb15de013093077946d431ab1f4080b84a66d45d20873f2c0dc44aa28034fb4ec1f6e24f9300fde563da53943b73d47163b9c6acf2667312128c50c6d075bd
     HEAD_REF master
 )