From a3bd4a3e45edf4f5560ba707131fa86c17e06e58 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 20 Oct 2018 07:10:40 +0200 Subject: [PATCH] New package: clog-1.3.0 --- srcpkgs/clog/patches/musl-limits_h.patch | 11 +++++++++++ srcpkgs/clog/template | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/clog/patches/musl-limits_h.patch create mode 100644 srcpkgs/clog/template 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 +}