Skip to content

Commit

Permalink
curl: Fix regression reading netrc
Browse files Browse the repository at this point in the history
See curl/curl#15496
and curl/curl#15513

Cherry-picked from 8b1c7bd (curl: Fix regression reading netrc,
2024-11-11) in msys2/MINGW-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
orgads authored and dscho committed Nov 14, 2024
1 parent d1d0501 commit 0370166
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions mingw-w64-curl/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-gnutls"
"${MINGW_PACKAGE_PREFIX}-${_realname}-winssl")
pkgver=8.11.0
pkgrel=1
pkgrel=2
pkgdesc="Command line tool and library for transferring data with URLs (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
Expand Down Expand Up @@ -35,13 +35,17 @@ source=("https://github.com/curl/curl/releases/download/${_realname}-${pkgver//.
"pathtools.c"
"pathtools.h"
"0001-Make-cURL-relocatable.patch"
"0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch")
"0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch"
"netrc-regression-1.patch::https://github.com/curl/curl/commit/f5c616930b5cf148b1b2632da4f5963ff48bdf88.patch"
"netrc-regression-2.patch::https://github.com/curl/curl/commit/0cdde0fdfbeb8c35420f6d03fa4b77ed73497694.patch")
sha256sums=('c95d5a1368803729345a632ce42cceeefd5f09c3b4d9582f858f6779f4b8b254'
'SKIP'
'08209cbf1633fa92eae7e5d28f95f8df9d6184cc20fa878c99aec4709bb257fd'
'965d3921ec4fdeec94a2718bc2c85ce5e1a00ea0e499330a554074a7ae15dfc6'
'd34c9474a0b54d36497e58b4792699ef37cc8b043a4cd5daf287e1e33f660207'
'418b5619b924d17ac71066323b5540d86d4e8055cabab925ece185770e9d1906')
'418b5619b924d17ac71066323b5540d86d4e8055cabab925ece185770e9d1906'
'708429a4e0b387dc9addc1f9166e07e5db22da42221887ddab9533c9e2bd1ca8'
'd817dd3746476bc513edd24a4f9a32674c3d5a04484bf80d894c1d2add67e8e2')
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg

if test -z "$WITHOUT_ALTERNATES"
Expand Down Expand Up @@ -91,7 +95,9 @@ prepare() {

apply_patch_with_msg \
0001-Make-cURL-relocatable.patch \
0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch
0002-Hack-make-relocation-work-inside-libexec-git-core-an.patch \
netrc-regression-1.patch \
netrc-regression-2.patch

autoreconf -vfi
}
Expand Down

0 comments on commit 0370166

Please sign in to comment.