aboutsummaryrefslogtreecommitdiff
path: root/ports/hyperscan
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-09-24 15:15:06 -0700
committerGitHub <noreply@github.com>2020-09-24 15:15:06 -0700
commit4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3 (patch)
tree371509cc59c45895c85e5e049aaa2cd9c39cc7b0 /ports/hyperscan
parentc1acea1f044d3300b0c3791c2ce74d53e5a15548 (diff)
downloadvcpkg-4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3.tar.gz
vcpkg-4cbbcbddfd42d94d6d8ee6c8b6ad00ef6a0927d3.zip
[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines (#13619)
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
Diffstat (limited to 'ports/hyperscan')
-rw-r--r--ports/hyperscan/0001-remove-Werror.patch27
-rw-r--r--ports/hyperscan/portfile.cmake2
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/hyperscan/0001-remove-Werror.patch b/ports/hyperscan/0001-remove-Werror.patch
new file mode 100644
index 000000000..0b3f53177
--- /dev/null
+++ b/ports/hyperscan/0001-remove-Werror.patch
@@ -0,0 +1,27 @@
+From e2c0779de8096623be874c5fa0d275113b9d1204 Mon Sep 17 00:00:00 2001
+From: Nicole Mazzuca <mazzucan@outlook.com>
+Date: Tue, 22 Sep 2020 14:44:36 -0700
+Subject: [PATCH] remove Werror
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 83197af..d27eb76 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -235,8 +235,8 @@ else()
+ if (NOT RELEASE_BUILD)
+ # -Werror is most useful during development, don't potentially break
+ # release builds
+- set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
+- set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
++ #set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
++ #set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
+ endif()
+
+ if (DISABLE_ASSERTS)
+--
+2.24.3 (Apple Git-128)
+
diff --git a/ports/hyperscan/portfile.cmake b/ports/hyperscan/portfile.cmake
index 19144cca4..a0640d292 100644
--- a/ports/hyperscan/portfile.cmake
+++ b/ports/hyperscan/portfile.cmake
@@ -8,6 +8,8 @@ vcpkg_from_github(
REF v${HYPERSCAN_VERSION}
SHA512 e6ac2aef1f3efa1535c00d73fa590ea62fff4686c4ad3ee023d2e72c51896ca4616ec1b85d7c6f88ac7b42d92c3557b9c4bb3b51cfb796e20a79d53b28e53b6c
HEAD_REF master
+ PATCHES
+ 0001-remove-Werror.patch
)
vcpkg_find_acquire_program(PYTHON3)