diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/draco/CONTROL | 4 | ||||
| -rw-r--r-- | ports/draco/fix-build-error-in-gcc11.patch | 12 | ||||
| -rw-r--r-- | ports/draco/portfile.cmake | 3 | ||||
| -rw-r--r-- | ports/draco/vcpkg.json | 7 |
4 files changed, 21 insertions, 5 deletions
diff --git a/ports/draco/CONTROL b/ports/draco/CONTROL deleted file mode 100644 index 4bfe82e85..000000000 --- a/ports/draco/CONTROL +++ /dev/null @@ -1,4 +0,0 @@ -Source: draco
-Version: 1.3.6
-Homepage: https://github.com/google/draco
-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.
diff --git a/ports/draco/fix-build-error-in-gcc11.patch b/ports/draco/fix-build-error-in-gcc11.patch new file mode 100644 index 000000000..d1e5536d7 --- /dev/null +++ b/ports/draco/fix-build-error-in-gcc11.patch @@ -0,0 +1,12 @@ +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 ++++ b/src/draco/io/parser_utils.cc +@@ -18,6 +18,7 @@ + #include <cctype> + #include <cmath> + #include <iterator> ++#include <limits> + + namespace draco { + namespace parser { diff --git a/ports/draco/portfile.cmake b/ports/draco/portfile.cmake index ae72d0041..2d2f7eee1 100644 --- a/ports/draco/portfile.cmake +++ b/ports/draco/portfile.cmake @@ -8,7 +8,8 @@ vcpkg_from_github( HEAD_REF master PATCHES fix-compile-error-uwp.patch - fix-uwperror.patch + fix-uwperror.patch + fix-build-error-in-gcc11.patch # Remove this patch in next release ) vcpkg_configure_cmake( diff --git a/ports/draco/vcpkg.json b/ports/draco/vcpkg.json new file mode 100644 index 000000000..4a78edff6 --- /dev/null +++ b/ports/draco/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "draco", + "version": "1.3.6", + "port-version": 1, + "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" +} |
