diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-11-05 20:39:55 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-11-05 20:48:05 +0100 |
commit | 5a39d70b6908a5aa39184c7bf2f402dceca51ed4 (patch) | |
tree | 21e7c404aa9779903242e1dcf50727cfa5be7fd0 /net-ftp/lftp | |
parent | www-apps/jellyfin: fix crash on grsec kernel (diff) | |
download | gentoo-5a39d70b6908a5aa39184c7bf2f402dceca51ed4.tar.gz gentoo-5a39d70b6908a5aa39184c7bf2f402dceca51ed4.tar.bz2 gentoo-5a39d70b6908a5aa39184c7bf2f402dceca51ed4.zip |
net-ftp/lftp: fix compilation with clang
Closes: https://bugs.gentoo.org/875692
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-ftp/lftp')
-rw-r--r-- | net-ftp/lftp/lftp-4.9.2.ebuild | 3 | ||||
-rw-r--r-- | net-ftp/lftp/lftp-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net-ftp/lftp/lftp-4.9.2.ebuild b/net-ftp/lftp/lftp-4.9.2.ebuild index 8e4953d3e242..59f56239e17f 100644 --- a/net-ftp/lftp/lftp-4.9.2.ebuild +++ b/net-ftp/lftp/lftp-4.9.2.ebuild @@ -62,6 +62,9 @@ PATCHES=( src_prepare() { default + # bug #875692 + sed -e '/#include/s/cmath/math.h/' -i trio/*.c || die + eautoreconf elibtoolize # for Darwin bundles diff --git a/net-ftp/lftp/lftp-9999.ebuild b/net-ftp/lftp/lftp-9999.ebuild index 915bfc33d101..c1915ac399f9 100644 --- a/net-ftp/lftp/lftp-9999.ebuild +++ b/net-ftp/lftp/lftp-9999.ebuild @@ -60,6 +60,9 @@ PATCHES=( src_prepare() { default + # bug #875692 + sed -e '/#include/s/cmath/math.h/' -i trio/*.c || die + gnulib-tool --update || die chmod +x build-aux/git-version-gen || die |