curl: update to 7.55.1

Fix two warnings during build about usage of CFLAGS.
This commit is contained in:
Alessio Sergi 2017-08-15 12:55:56 +02:00
parent 67d24bd90f
commit 1c3095e8dc

View file

@ -1,6 +1,6 @@
# Template build file for 'curl'.
pkgname=curl
version=7.55.0
version=7.55.1
revision=1
build_style=gnu-configure
configure_args="ac_cv_sizeof_off_t=8
@ -21,12 +21,18 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://curl.haxx.se"
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
checksum=af1d69ec6f15fe70a2cabaa98309732bf035ef2a735e4e1a3e08754d2780e5b1
checksum=e5b1a92ed3b0c11f149886458fa063419500819f1610c020d62f25b8e4b16cfb
build_options="gnutls gssapi ldap rtmp ssh ssl"
build_options_default="ssh ssl"
vopt_conflict ssl gnutls
pre_configure() {
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
}
post_install() {
vlicense COPYING
}