aboutsummaryrefslogtreecommitdiff
path: root/ports/basisu
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-05-27 13:13:00 +0800
committerGitHub <noreply@github.com>2020-05-26 22:13:00 -0700
commit4694b885a2d681e5b0c7b54276d665f569249962 (patch)
treecda47315c1a0d49c762b25e9e2b8875fe9c3fb34 /ports/basisu
parenta95a5022aecd513b247f069d9055709f43319a7a (diff)
downloadvcpkg-4694b885a2d681e5b0c7b54276d665f569249962.tar.gz
vcpkg-4694b885a2d681e5b0c7b54276d665f569249962.zip
[basisu, gppanel, msgpack11, nana, rapidcheck, folly] Fix std function build error (#11494)
Diffstat (limited to 'ports/basisu')
-rw-r--r--ports/basisu/CONTROL2
-rw-r--r--ports/basisu/fix-addostream.patch12
-rw-r--r--ports/basisu/portfile.cmake1
3 files changed, 14 insertions, 1 deletions
diff --git a/ports/basisu/CONTROL b/ports/basisu/CONTROL
index 81e17c2de..a690f6dbd 100644
--- a/ports/basisu/CONTROL
+++ b/ports/basisu/CONTROL
@@ -1,5 +1,5 @@
Source: basisu
-Version: 1.11-3
+Version: 1.11-4
Homepage: https://github.com/BinomialLLC/basis_universal
Description: Basis Universal is a supercompressed GPU texture and video compression format that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.
Build-Depends: lodepng
diff --git a/ports/basisu/fix-addostream.patch b/ports/basisu/fix-addostream.patch
new file mode 100644
index 000000000..cd9308bf5
--- /dev/null
+++ b/ports/basisu/fix-addostream.patch
@@ -0,0 +1,12 @@
+diff --git a/src/encoder/basisu_enc.h b/src/encoder/basisu_enc.h
+index 05656da..468f43b 100644
+--- a/src/encoder/basisu_enc.h
++++ b/src/encoder/basisu_enc.h
+@@ -22,6 +22,7 @@
+ #include <functional>
+ #include <thread>
+ #include <unordered_map>
++#include <ostream>
+
+ #ifndef _WIN32
+ #include <libgen.h>
diff --git a/ports/basisu/portfile.cmake b/ports/basisu/portfile.cmake
index c78b80188..8873c52fc 100644
--- a/ports/basisu/portfile.cmake
+++ b/ports/basisu/portfile.cmake
@@ -4,6 +4,7 @@ vcpkg_from_github(
REF 497875f756ed0e3eb62e0ff08d55c62242f4be74
SHA512 2293b78620a7ed510dbecf48bcae5f4b8524fe9020f864c8e79cf94ea9d95d51dddf83a5b4ea29cc95db19f87137bfef1cb68b7fbc6387e08bb42898d81c9303
HEAD_REF master
+ PATCHES fix-addostream.patch
)
vcpkg_configure_cmake(