aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/brotli/CONTROL1
-rw-r--r--ports/brotli/fix-ios.patch12
-rw-r--r--ports/brotli/portfile.cmake1
3 files changed, 14 insertions, 0 deletions
diff --git a/ports/brotli/CONTROL b/ports/brotli/CONTROL
index ce085e32f..93d890444 100644
--- a/ports/brotli/CONTROL
+++ b/ports/brotli/CONTROL
@@ -1,4 +1,5 @@
Source: brotli
Version: 1.0.9
+Port-Version: 1
Homepage: https://github.com/google/brotli
Description: a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.
diff --git a/ports/brotli/fix-ios.patch b/ports/brotli/fix-ios.patch
new file mode 100644
index 000000000..b3dee6aa0
--- /dev/null
+++ b/ports/brotli/fix-ios.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fcd9024..a717b87 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -225,6 +225,7 @@ if(NOT BROTLI_BUNDLED_MODE)
+ install(
+ TARGETS brotli
+ RUNTIME DESTINATION tools/brotli
++ BUNDLE DESTINATION tools/brotli
+ CONFIGURATIONS Release
+ )
+
diff --git a/ports/brotli/portfile.cmake b/ports/brotli/portfile.cmake
index 6d28f2650..9c1e3037d 100644
--- a/ports/brotli/portfile.cmake
+++ b/ports/brotli/portfile.cmake
@@ -8,6 +8,7 @@ vcpkg_from_github(
install.patch
fix-arm-uwp.patch
pkgconfig.patch
+ fix-ios.patch
)
vcpkg_configure_cmake(