cmake: Fix build issue when using system curl (#25644)
Reference: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11134
Reference: 1a12663d06
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
@@ -12,7 +12,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=4.1.1
|
||||
_rc=""
|
||||
_pkgver=${pkgver}${_rc}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A cross-platform open-source make system"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@@ -51,12 +51,14 @@ source=("https://github.com/Kitware/CMake/releases/download/v${_pkgver}/${_realn
|
||||
"0001-Disable-response-files-for-MSYS-Generator.patch"
|
||||
"0002-Do-not-install-Qt-bundle-in-cmake-gui.patch"
|
||||
"0003-fix-find-python-on-mingw-aarch64.patch"
|
||||
"0005-Default-to-ninja-generator.patch")
|
||||
"0005-Default-to-ninja-generator.patch"
|
||||
"c8143074cf3954b1e169904eb9d843cfbe14acc3.patch"::"https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11134.patch")
|
||||
sha256sums=('b29f6f19733aa224b7763507a108a427ed48c688e1faf22b29c44e1c30549282'
|
||||
'25793edcbac05bb6d17fa9947b52ace4a6b5ccccf7758e22ae9ae022ed089061'
|
||||
'f6cf6a6f2729db2b9427679acd09520af2cd79fc26900b19a49cead05a55cd1a'
|
||||
'557b5cbc05d4d50b3a67a7892391fcaa5cd95c492cdb4338d86305d1f4a3b88a'
|
||||
'426818278090704d2a12f62ef3dfd94c47b11fa2784bb842989b7f6a09ee7aa2')
|
||||
'426818278090704d2a12f62ef3dfd94c47b11fa2784bb842989b7f6a09ee7aa2'
|
||||
'f9c47d052018111bed219b71f72125444aa72fd9544f1ed2adaadc2e330593e0')
|
||||
|
||||
# Helper macros to help make tasks easier #
|
||||
apply_patch_with_msg() {
|
||||
@@ -88,6 +90,10 @@ prepare() {
|
||||
apply_patch_with_msg \
|
||||
0005-Default-to-ninja-generator.patch
|
||||
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11134
|
||||
apply_patch_with_msg \
|
||||
c8143074cf3954b1e169904eb9d843cfbe14acc3.patch
|
||||
|
||||
find . -name "*.orig" -exec rm -f {} \;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user