curl: update to 7.76.1.
Includes fix for <time.h> and gmtime_r usage.
This commit is contained in:
parent
7c1f60dd35
commit
e6197745c9
1 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'curl'
|
# Template file for 'curl'
|
||||||
pkgname=curl
|
pkgname=curl
|
||||||
version=7.76.0
|
version=7.76.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||||
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
|
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
|
||||||
|
@ -21,15 +21,12 @@ license="MIT"
|
||||||
homepage="https://curl.haxx.se"
|
homepage="https://curl.haxx.se"
|
||||||
changelog="https://curl.haxx.se/changes.html#${version//./_}"
|
changelog="https://curl.haxx.se/changes.html#${version//./_}"
|
||||||
distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2"
|
distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=e29bfe3633701590d75b0071bbb649ee5ca4ca73f00649268bd389639531c49a
|
checksum=7a8e184d7d31312c4ebf6a8cb59cd757e61b2b2833a9ed4f9bf708066e7695e9
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
|
build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
|
||||||
build_options_default="ssh ssl zstd"
|
build_options_default="ssh ssl zstd"
|
||||||
vopt_conflict ssl gnutls
|
vopt_conflict ssl gnutls
|
||||||
|
|
||||||
# force usage of gmtime_r, fix in https://github.com/curl/curl/pull/6859
|
|
||||||
CFLAGS="-DHAVE_GMTIME_R -DTIME_WITH_SYS_TIME"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||||
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
|
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
|
||||||
|
|
Loading…
Reference in a new issue