diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-26 04:02:52 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-26 04:02:52 +0000 |
commit | bec32799094d2ee07f46a6c5d369603a79438ce6 (patch) | |
tree | 6cfdca109dc01f74d281de3cc7098783a479b023 /extra/htop | |
parent | 2e237e087ac1a2449690b7dfdfed1e406838feaf (diff) |
Sat Apr 26 03:59:59 UTC 2014
Diffstat (limited to 'extra/htop')
-rw-r--r-- | extra/htop/PKGBUILD | 20 | ||||
-rw-r--r-- | extra/htop/tree-crash.patch | 13 |
2 files changed, 9 insertions, 24 deletions
diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD index 509980f30..28d4eab0a 100644 --- a/extra/htop/PKGBUILD +++ b/extra/htop/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 173197 2012-12-12 17:29:21Z heftig $ +# $Id: PKGBUILD 211746 2014-04-25 13:42:30Z dreisner $ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=htop -pkgver=1.0.2 -pkgrel=2 +pkgver=1.0.3 +pkgrel=1 pkgdesc="Interactive process viewer" arch=('i686' 'x86_64') url="http://htop.sourceforge.net/" @@ -15,20 +15,18 @@ makedepends=('python2') optdepends=('lsof: show files opened by a process' 'strace: attach to a running process') options=('!emptydirs') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - tree-crash.patch) -md5sums=('0d01cca8df3349c74569cefebbd9919e' - '48eba3c0303bfd19d761b859bc69d713') +source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('e768b9b55c033d9c1dffda72db3a6ac7') -build() { +prepare() { cd "$pkgname-$pkgver" sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure sed -i 's|python|python2|' scripts/MakeHeader.py +} - # Boost field buffer size - crashes when trying to draw very deep UTF-8 trees - # Test by nesting 30 shells - patch -N -i ../tree-crash.patch +build() { + cd "$pkgname-$pkgver" ./configure \ --prefix=/usr \ diff --git a/extra/htop/tree-crash.patch b/extra/htop/tree-crash.patch deleted file mode 100644 index b949e262d..000000000 --- a/extra/htop/tree-crash.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: Process.c -=================================================================== ---- Process.c (revision 302) -+++ Process.c (working copy) -@@ -371,7 +371,7 @@ - } - - static void Process_writeField(Process* this, RichString* str, ProcessField field) { -- char buffer[128]; buffer[127] = '\0'; -+ char buffer[256]; buffer[255] = '\0'; - int attr = CRT_colors[DEFAULT_COLOR]; - int baseattr = CRT_colors[PROCESS_BASENAME]; - int n = sizeof(buffer) - 1; |