mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
curl: force use of gmtime_r
This commit is contained in:
parent
bbb49293d1
commit
b17ca1ac56
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'curl'
|
# Template file for 'curl'
|
||||||
pkgname=curl
|
pkgname=curl
|
||||||
version=7.76.0
|
version=7.76.0
|
||||||
revision=1
|
revision=2
|
||||||
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)
|
||||||
|
@ -27,6 +27,9 @@ 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…
Add table
Reference in a new issue