diff options
| author | here-mikelley <48072435+here-mikelley@users.noreply.github.com> | 2020-05-07 22:30:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-07 22:30:58 -0700 |
| commit | 3b08f6f9fd44f135ee833e467d55d215d679867b (patch) | |
| tree | c56162efe490f59ffb45578d284c84ce7b7a82e5 | |
| parent | 124e8151c1b1b19342fd819b94a455c892c5d1b7 (diff) | |
| download | vcpkg-3b08f6f9fd44f135ee833e467d55d215d679867b.tar.gz vcpkg-3b08f6f9fd44f135ee833e467d55d215d679867b.zip | |
[libsquish] add missing SQUISH_EXPORT (#11124)
| -rw-r--r-- | ports/libsquish/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libsquish/fix-export-symbols.patch | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ports/libsquish/CONTROL b/ports/libsquish/CONTROL index 91b89650b..24a0e8730 100644 --- a/ports/libsquish/CONTROL +++ b/ports/libsquish/CONTROL @@ -1,4 +1,4 @@ Source: libsquish
-Version: 1.15-2
+Version: 1.15-3
Homepage: https://sourceforge.net/projects/libsquish
Description: Open source DXT compression library.
diff --git a/ports/libsquish/fix-export-symbols.patch b/ports/libsquish/fix-export-symbols.patch index febf2eb51..a777eea23 100644 --- a/ports/libsquish/fix-export-symbols.patch +++ b/ports/libsquish/fix-export-symbols.patch @@ -44,6 +44,13 @@ index 14c9bb5..aaffbb2 100644 + //! All squish API functions live in this namespace. namespace squish { + +@@ -115,5 +117,5 @@ + */ +-void CompressMasked( u8 const* rgba, int mask, void* block, int flags, float* metric = 0 ); ++SQUISH_EXPORT void CompressMasked( u8 const* rgba, int mask, void* block, int flags, float* metric = 0 ); + + // ----------------------------------------------------------------------------- @@ -176,7 +178,7 @@ inline void Compress( u8 const* rgba, void* block, int flags, float* metric = 0 however, DXT1 will be used by default if none is specified. All other flags |
