diff --git a/srcpkgs/cln/patches/musl.patch b/srcpkgs/cln/patches/musl.patch new file mode 100644 index 00000000000..12b8fe62f30 --- /dev/null +++ b/srcpkgs/cln/patches/musl.patch @@ -0,0 +1,10 @@ +--- src/timing/cl_t_current2.cc.orig 2009-05-10 22:32:32.000000000 +0200 ++++ src/timing/cl_t_current2.cc 2017-06-07 15:14:54.972741636 +0200 +@@ -20,6 +20,7 @@ + #include + #include // defines HZ, unit for times() is 1/HZ seconds + #include ++ #include + extern "C" clock_t times (struct tms * buffer); + #endif + #ifdef HAVE_PERROR_DECL diff --git a/srcpkgs/cln/template b/srcpkgs/cln/template index e16d596f3d0..c86d5f57d28 100644 --- a/srcpkgs/cln/template +++ b/srcpkgs/cln/template @@ -5,20 +5,19 @@ revision=1 build_style=gnu-configure maintainer="Orphaned " makedepends="gmp-devel" -license="GPL" -homepage="http://www.ginac.de/CLN/" -short_desc="A library for efficient computations with all kinds of numbers in arbitrary precision" -distfiles="http://www.ginac.de/CLN/${pkgname}-${version}.tar.bz2" +license="GPL-2" +homepage="https://www.ginac.de/CLN/" +short_desc="Class library (C++) for numbers" +distfiles="${homepage}/${pkgname}-${version}.tar.bz2" checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748 case "$XBPS_TARGET_MACHINE" in -arm*) - CPPFLAGS+=" -DNO_ASM";; +arm*|aarch64*) CPPFLAGS="-DNO_ASM";; esac cln-devel_package() { short_desc+=" - development files" - depends="cln>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/libcln.so