Skip to content

Commit

Permalink
curl: Fix regression reading netrc
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads authored and lazka committed Nov 11, 2024
1 parent 02cd49c commit 8b1c7bd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions mingw-w64-curl/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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 @@ -48,12 +48,17 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
source=("https://github.com/curl/curl/releases/download/${_realname}-${pkgver//./_}/${_realname}-${pkgver}.tar.xz"{,.asc}
"pathtools.c"
"pathtools.h"
"0001-Make-cURL-relocatable.patch")
"0001-Make-cURL-relocatable.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=('db59cf0d671ca6e7f5c2c5ec177084a33a79e04c97e71cf183a5cdea235054eb'
'SKIP'
'ebf471173f5ee9c4416c10a78760cea8afaf1a4a6e653977321e8547ce7bf3c0'
'1585ef1b61cf53a2ca27049c11d49e0834683dfda798f03547761375df482a90'
'69d3a70dedb931526cc3e627b526086c41ebe9fa265c91ede03e1008cde50b45')
'69d3a70dedb931526cc3e627b526086c41ebe9fa265c91ede03e1008cde50b45'
'708429a4e0b387dc9addc1f9166e07e5db22da42221887ddab9533c9e2bd1ca8'
'd817dd3746476bc513edd24a4f9a32674c3d5a04484bf80d894c1d2add67e8e2')
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg

apply_patch_with_msg() {
Expand All @@ -74,7 +79,9 @@ prepare() {
cp -fHv "${srcdir}"/pathtools.[ch] lib/

apply_patch_with_msg \
0001-Make-cURL-relocatable.patch
0001-Make-cURL-relocatable.patch \
netrc-regression-1.patch \
netrc-regression-2.patch
}

do_build() {
Expand Down

0 comments on commit 8b1c7bd

Please sign in to comment.