diff --git a/srcpkgs/iputils/patches/fix-musl-defines.patch b/srcpkgs/iputils/patches/fix-musl-defines.patch new file mode 100644 index 00000000000..13a20603278 --- /dev/null +++ b/srcpkgs/iputils/patches/fix-musl-defines.patch @@ -0,0 +1,13 @@ +--- a/ping.h ++++ b/ping.h +@@ -44,6 +44,10 @@ + #define getnameinfo_flags 0 + #endif + ++#ifndef AI_CANONIDN ++#define AI_CANONIDN 0x0080 ++#endif ++ + #ifndef WITHOUT_IFADDRS + #include + #endif diff --git a/srcpkgs/iputils/template b/srcpkgs/iputils/template index e58b7a0514d..5438185e73d 100644 --- a/srcpkgs/iputils/template +++ b/srcpkgs/iputils/template @@ -1,17 +1,17 @@ # Template file for 'iputils' pkgname=iputils -version=20161105 -revision=3 +version=20180629 +revision=1 patch_args="-Np1" wrksrc="${pkgname}-s${version}" makedepends="libcap-devel libressl-devel" depends="libcap-progs" short_desc="Useful utilities for Linux networking (including ping)" maintainer="Juan RP " -license="GPL-2, BSD" +license="BSD-3-Clause, GPL-2.0-or-later" homepage="https://github.com/iputils/iputils" distfiles="https://github.com/${pkgname}/${pkgname}/archive/s${version}.tar.gz" -checksum=f813092f03d17294fd23544b129b95cdb87fe19f7970a51908a6b88509acad8a +checksum=da14105291dd491f28ea91ade854ed10aee8ba019641c80eed233de3908be7c5 alternatives=" ping:ping:/usr/bin/${pkgname}-ping @@ -35,4 +35,5 @@ do_install() { vman doc/${f}.8 done mv ${DESTDIR}/usr/share/man/man8/{ping,${pkgname}-ping}.8 + vlicense LICENSE.BSD3 }