diff --git a/srcpkgs/sisl/patches/maxdouble.patch b/srcpkgs/sisl/patches/maxdouble.patch new file mode 100644 index 00000000000..e1506e6ffa9 --- /dev/null +++ b/srcpkgs/sisl/patches/maxdouble.patch @@ -0,0 +1,11 @@ +--- include/sislP.h.orig ++++ include/sislP.h +@@ -362,7 +362,7 @@ enum + + #if defined(SISL_INTERNAL) + #ifndef HUGE +-#define HUGE MAXDOUBLE ++#define HUGE DBL_MAX + #endif + + /* Storage classes. Used in space allocation. */ diff --git a/srcpkgs/sisl/template b/srcpkgs/sisl/template new file mode 100644 index 00000000000..1fdf40b02db --- /dev/null +++ b/srcpkgs/sisl/template @@ -0,0 +1,16 @@ +# Template file for 'sisl' +pkgname=sisl +version=4.6.0 +revision=1 +wrksrc="SISL-SISL-${version}" +build_style=cmake +short_desc="SINTEF Spline Library" +maintainer="Florian Anderiasch " +license="AGPL-3.0-only" +homepage="https://github.com/SINTEF-Geometry/SISL" +distfiles="$homepage/archive/SISL-$version.tar.gz" +checksum=b207fe6b4b20775e3064168633256fddd475ff98573408f6f5088a938c086f86 + +post_install() { + vlicense COPYING +}