aboutsummaryrefslogtreecommitdiff
path: root/ports/skia
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-08-27 12:27:39 -0700
committerGitHub <noreply@github.com>2020-08-27 12:27:39 -0700
commit8054263f15c8400d6df5fff55fae97394e187368 (patch)
treea5cc0464457d382ca6f4c9b6e6f7c280408f1101 /ports/skia
parent99212d675f12c38b80ee6c38074e39cd9777339e (diff)
downloadvcpkg-8054263f15c8400d6df5fff55fae97394e187368.tar.gz
vcpkg-8054263f15c8400d6df5fff55fae97394e187368.zip
[skia, ompl, capnproto] Update VMs for 2020-08-12 (including VS 16.7) (#12884)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/skia')
-rw-r--r--ports/skia/CONTROL2
-rw-r--r--ports/skia/add-missing-tuple.patch12
-rw-r--r--ports/skia/portfile.cmake5
3 files changed, 18 insertions, 1 deletions
diff --git a/ports/skia/CONTROL b/ports/skia/CONTROL
index 6b6677ab9..917ca1199 100644
--- a/ports/skia/CONTROL
+++ b/ports/skia/CONTROL
@@ -1,6 +1,6 @@
Source: skia
Version: 2020-05-18
-Port-Version: 2
+Port-Version: 3
Homepage: https://skia.org
Description: Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.
It serves as the graphics engine for Google Chrome and Chrome OS, Android, Mozilla Firefox and Firefox OS, and many other products.
diff --git a/ports/skia/add-missing-tuple.patch b/ports/skia/add-missing-tuple.patch
new file mode 100644
index 000000000..e33d44e3a
--- /dev/null
+++ b/ports/skia/add-missing-tuple.patch
@@ -0,0 +1,12 @@
+diff --git a/include/private/SkPathRef.h b/include/private/SkPathRef.h
+index 7afe4f9..502f83e 100644
+--- a/include/private/SkPathRef.h
++++ b/include/private/SkPathRef.h
+@@ -21,6 +21,7 @@
+
+ #include <atomic>
+ #include <limits>
++#include <tuple>
+
+ class SkRBuffer;
+ class SkWBuffer;
diff --git a/ports/skia/portfile.cmake b/ports/skia/portfile.cmake
index cdd7254ca..b7cc1f093 100644
--- a/ports/skia/portfile.cmake
+++ b/ports/skia/portfile.cmake
@@ -163,6 +163,11 @@ if(CMAKE_HOST_WIN32)
endif()
+vcpkg_apply_patches(
+ SOURCE_PATH "${SOURCE_PATH}"
+ PATCHES add-missing-tuple.patch
+)
+
vcpkg_configure_gn(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS_DEBUG "${OPTIONS_DBG}"