[arch-commits] Commit in ccze/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 14:17:48 UTC 2020
Date: Tuesday, July 7, 2020 @ 14:17:48
Author: felixonmars
Revision: 658802
archrelease: copy trunk to community-staging-x86_64
Added:
ccze/repos/community-staging-x86_64/
ccze/repos/community-staging-x86_64/PKGBUILD
(from rev 658801, ccze/trunk/PKGBUILD)
ccze/repos/community-staging-x86_64/ccze-fix-segfault.diff
(from rev 658801, ccze/trunk/ccze-fix-segfault.diff)
------------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
ccze-fix-segfault.diff | 11 +++++++++++
2 files changed, 45 insertions(+)
Copied: ccze/repos/community-staging-x86_64/PKGBUILD (from rev 658801, ccze/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 14:17:48 UTC (rev 658802)
@@ -0,0 +1,34 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgname=ccze
+pkgver=0.2.1
+pkgrel=11
+pkgdesc="Robust and modular log colorizer with many plugins"
+arch=('x86_64')
+url="http://freshmeat.net/projects/ccze/"
+license=('GPL')
+depends=('ncurses' 'pcre')
+makedepends=('patch')
+source=(http://http.debian.net/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz \
+ $pkgname-fix-segfault.diff)
+sha512sums=('1704da8d4c97a3403a57d7841db8a6e4ba6116e401f91d9ecf1b1371cc18b40641e5665c9414740d6a523874be6b6527f5c0d4f3a3796c7b96ed83192146b2b7'
+ 'aa67066a1b597e12509c19286fda8427dedcc75fa94fe32817cbec2bfb8bf3cfb420f7344faf7fb4847feb13c2a2e5aca85e73109e7c0893e26028b7713c0ddf')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ patch -Np0 -i "${srcdir}"/$pkgname-fix-segfault.diff
+
+ #killing a bug
+ 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 "${srcdir}"/$pkgname-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+}
Copied: ccze/repos/community-staging-x86_64/ccze-fix-segfault.diff (from rev 658801, ccze/trunk/ccze-fix-segfault.diff)
===================================================================
--- community-staging-x86_64/ccze-fix-segfault.diff (rev 0)
+++ community-staging-x86_64/ccze-fix-segfault.diff 2020-07-07 14:17:48 UTC (rev 658802)
@@ -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;
More information about the arch-commits
mailing list