From 31353ab76145319e922402443509a1e4f3ad2174 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 17 Mar 2015 10:28:07 +0100 Subject: [PATCH] procps-ng: enable UTF-8 safe watch(1) and return to old top(1) theme. --- srcpkgs/procps-ng/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/procps-ng/template b/srcpkgs/procps-ng/template index 4a53a2a8c19..7bd0682a026 100644 --- a/srcpkgs/procps-ng/template +++ b/srcpkgs/procps-ng/template @@ -1,11 +1,12 @@ # Template file for 'procps-ng' pkgname=procps-ng version=3.3.10 -revision=3 +revision=4 build_pie=yes build_style=gnu-configure configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin - --libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)" + --libdir=/usr/lib --disable-static --disable-kill --enable-watch8bit + --disable-modern-top $(vopt_with systemd)" hostmakedepends="automake libtool pkg-config gettext-devel" makedepends="ncurses-devel $(vopt_if systemd systemd-devel)" short_desc="Utilities for monitoring your system and its processes" @@ -19,6 +20,9 @@ checksum=a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04 build_options="systemd" conf_files="/etc/sysctl.conf" +post_extract() { + sed -i 's,ncursesw/ncurses.h,ncurses.h,g' watch.c +} pre_configure() { autoreconf -fi }