@@ -6,7 +6,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
66 " ${MINGW_PACKAGE_PREFIX} -${_realname} -gnutls"
77 " ${MINGW_PACKAGE_PREFIX} -${_realname} -winssl" )
88pkgver=8.11.0
9- pkgrel=1
9+ pkgrel=2
1010pkgdesc=" Command line tool and library for transferring data with URLs (mingw-w64)"
1111arch=(' any' )
1212mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clang32' ' clangarm64' )
@@ -35,13 +35,17 @@ source=("https://github.com/curl/curl/releases/download/${_realname}-${pkgver//.
3535 " pathtools.c"
3636 " pathtools.h"
3737 " 0001-Make-cURL-relocatable.patch"
38- " 0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch" )
38+ " 0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch"
39+ " netrc-regression-1.patch::https://github.com/curl/curl/commit/f5c616930b5cf148b1b2632da4f5963ff48bdf88.patch"
40+ " netrc-regression-2.patch::https://github.com/curl/curl/commit/0cdde0fdfbeb8c35420f6d03fa4b77ed73497694.patch" )
3941sha256sums=(' c95d5a1368803729345a632ce42cceeefd5f09c3b4d9582f858f6779f4b8b254'
4042 ' SKIP'
4143 ' 08209cbf1633fa92eae7e5d28f95f8df9d6184cc20fa878c99aec4709bb257fd'
4244 ' 965d3921ec4fdeec94a2718bc2c85ce5e1a00ea0e499330a554074a7ae15dfc6'
4345 ' d34c9474a0b54d36497e58b4792699ef37cc8b043a4cd5daf287e1e33f660207'
44- ' 418b5619b924d17ac71066323b5540d86d4e8055cabab925ece185770e9d1906' )
46+ ' 418b5619b924d17ac71066323b5540d86d4e8055cabab925ece185770e9d1906'
47+ ' 708429a4e0b387dc9addc1f9166e07e5db22da42221887ddab9533c9e2bd1ca8'
48+ ' d817dd3746476bc513edd24a4f9a32674c3d5a04484bf80d894c1d2add67e8e2' )
4549validpgpkeys=(' 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' ) # Daniel Stenberg
4650
4751if test -z " $WITHOUT_ALTERNATES "
@@ -86,12 +90,18 @@ prepare() {
8690 cmp " ${startdir} /../mingw-w64-pathtools/pathtools.h" " ${srcdir} /pathtools.h"
8791 } || exit 1
8892
93+ test ! -f " ${srcdir} /netrc-regression-1.patch" ||
94+ rm -f ${_realname} -${pkgver} /tests/data/test2309 \
95+ ${_realname} -${pkgver} /tests/libtest/lib2309.c
96+
8997 cd " ${srcdir} /${_realname} -${pkgver} "
9098 cp -fHv " ${srcdir} " /pathtools.[ch] lib/
9199
92100 apply_patch_with_msg \
93101 0001-Make-cURL-relocatable.patch \
94- 0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch
102+ 0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch \
103+ netrc-regression-1.patch \
104+ netrc-regression-2.patch
95105
96106 autoreconf -vfi
97107}
0 commit comments