diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/arrow/ci/vcpkg/ports.patch | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/arrow/ci/vcpkg/ports.patch')
-rw-r--r-- | src/arrow/ci/vcpkg/ports.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/arrow/ci/vcpkg/ports.patch b/src/arrow/ci/vcpkg/ports.patch new file mode 100644 index 000000000..7bcba49c1 --- /dev/null +++ b/src/arrow/ci/vcpkg/ports.patch @@ -0,0 +1,63 @@ +diff --git a/ports/aws-c-common/portfile.cmake b/ports/aws-c-common/portfile.cmake +index f3704ef05b..3af543058d 100644 +--- a/ports/aws-c-common/portfile.cmake ++++ b/ports/aws-c-common/portfile.cmake +@@ -1,8 +1,8 @@ + vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO awslabs/aws-c-common +- REF 4a21a1c0757083a16497fea27886f5f20ccdf334 # v0.4.56 +- SHA512 68898a8ac15d5490f45676eabfbe0df9e45370a74c543a28909fd0d85fed48dfcf4bcd6ea2d01d1a036dd352e2e4e0b08c48c63ab2a2b477fe150b46a827136e ++ REF 13adef72b7813ec878817c6d50a7a3f241015d8a # v0.4.57 ++ SHA512 28256522ac6af544d7464e3e7dcd4dc802ae2b09728bf8f167f86a6487bb756d0cad5eb4a2480610b2967b9c24c4a7f70621894517aa2828ffdeb0479453803b + HEAD_REF master + PATCHES + disable-error-4068.patch # This patch fixes dependency port compilation failure +diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake +index be66d452be..a5ce325e9d 100644 +--- a/ports/curl/portfile.cmake ++++ b/ports/curl/portfile.cmake +@@ -94,6 +94,8 @@ vcpkg_configure_cmake( + -DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON + -DENABLE_DEBUG=ON + -DCURL_CA_FALLBACK=ON ++ -DCURL_CA_PATH=none ++ -DCURL_CA_BUNDLE=none + OPTIONS_DEBUG + ${EXTRA_ARGS_DEBUG} + OPTIONS_RELEASE +diff --git a/ports/snappy/portfile.cmake b/ports/snappy/portfile.cmake +index 75dd133027..84345c7caa 100644 +--- a/ports/snappy/portfile.cmake ++++ b/ports/snappy/portfile.cmake +@@ -4,6 +4,7 @@ vcpkg_from_github( + REF 537f4ad6240e586970fe554614542e9717df7902 # 1.1.8 + SHA512 555d3b69a6759592736cbaae8f41654f0cf14e8be693b5dde37640191e53daec189f895872557b173e905d10681ef502f3e6ed8566811add963ffef96ce4016d + HEAD_REF master ++ PATCHES "snappy-disable-bmi.patch" + ) + + vcpkg_configure_cmake( +diff --git a/ports/snappy/snappy-disable-bmi.patch b/ports/snappy/snappy-disable-bmi.patch +new file mode 100644 +index 0000000000..2cbb1533a8 +--- /dev/null ++++ b/ports/snappy/snappy-disable-bmi.patch +@@ -0,0 +1,17 @@ ++--- snappy.cc 2020-06-27 17:38:49.718993748 -0500 +++++ snappy.cc 2020-06-27 17:37:57.543268213 -0500 ++@@ -717,14 +717,10 @@ ++ static inline uint32 ExtractLowBytes(uint32 v, int n) { ++ assert(n >= 0); ++ assert(n <= 4); ++-#if SNAPPY_HAVE_BMI2 ++- return _bzhi_u32(v, 8 * n); ++-#else ++ // This needs to be wider than uint32 otherwise `mask << 32` will be ++ // undefined. ++ uint64 mask = 0xffffffff; ++ return v & ~(mask << (8 * n)); ++-#endif ++ } ++ ++ static inline bool LeftShiftOverflows(uint8 value, uint32 shift) { |