Skip to content
Permalink
Browse files

ccze 0.2.1-1

  • Loading branch information...
linuxchezmoi committed Apr 13, 2019
1 parent 42d0d0d commit 160e45e505612e6eda6b16370744d4dc768da32d
Showing with 45 additions and 0 deletions.
  1. +34 −0 cli-extra/ccze/Pkgfile
  2. +11 −0 cli-extra/ccze/ccze-fix-segfault.diff
@@ -0,0 +1,34 @@
# Depends on: ncurses pcre patch


packager="sipo"
contributors=""
maintainer="sipo"


description="Robust and modular log colorizer with many plugins"
url="http://freshmeat.net/projects/ccze/"


name=ccze
version=0.2.1
release=1


source=(http://http.debian.net/debian/pool/main/c/ccze/ccze_0.2.1.orig.tar.gz
ccze-fix-segfault.diff)


build(){
cd "${SRC}"/$name-$version
patch -Np0 -i "${SRC}"/$name-fix-segfault.diff
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' -i src/Makefile.in
sed -e '/#undef error_t/d' -i system.h.in
./configure --prefix=/usr --mandir=/usr/share/man
make
}

package() {
cd "${SRC}"/$name-$version
make DESTDIR="${PKG}" install
}
@@ -0,0 +1,11 @@
--- src/ccze.c.orig 2003-05-13 20:09:30.000000000 +0200
+++ src/ccze.c 2010-08-29 18:14:53.000000000 +0200
@@ -212 +212 @@
- plugin = strtok (optarg, "=");
+ plugin = strtok (arg, "=");
@@ -252 +252 @@
- subopts = optarg;
+ subopts = arg;
@@ -276 +276 @@
- subopts = optarg;
+ subopts = arg;

0 comments on commit 160e45e

Please sign in to comment.
You can’t perform that action at this time.