diff --git a/srcpkgs/clog/patches/musl-limits_h.patch b/srcpkgs/clog/patches/musl-limits_h.patch new file mode 100644 index 00000000000..77930bbfc37 --- /dev/null +++ b/srcpkgs/clog/patches/musl-limits_h.patch @@ -0,0 +1,11 @@ +--- src/libshared/src/FS.cpp ++++ src/libshared/src/FS.cpp +@@ -41,7 +41,7 @@ + #include + #include + +-#if defined SOLARIS || defined NETBSD || defined FREEBSD ++#if defined SOLARIS || defined NETBSD || defined FREEBSD || !defined(__GLIBC__) + #include + #endif + diff --git a/srcpkgs/clog/template b/srcpkgs/clog/template new file mode 100644 index 00000000000..b255ad949bc --- /dev/null +++ b/srcpkgs/clog/template @@ -0,0 +1,15 @@ +# Template file for 'clog' +pkgname=clog +version=1.3.0 +revision=1 +build_style=cmake +short_desc="Colorize your logfiles based on custom rulesets" +maintainer="Piraty " +license="MIT" +homepage="https://taskwarrior.org/docs/clog/" +distfiles="http://gothenburgbitfactory.org/download/clog-${version}.tar.gz" +checksum=fed44a8d398790ab0cf426c1b006e7246e20f3fcd56c0ec4132d24b05d5d2018 + +post_install() { + vlicense LICENSE +}