[arch-commits] Commit in htop/trunk (PKGBUILD tree-crash.patch)
Dave Reisner
dreisner at nymeria.archlinux.org
Fri Apr 25 13:42:03 UTC 2014
Date: Friday, April 25, 2014 @ 15:42:02
Author: dreisner
Revision: 211745
upgpkg: htop 1.0.3-1
- drop merged patch
- use prepare function for hackery
- change source location
Modified:
htop/trunk/PKGBUILD
Deleted:
htop/trunk/tree-crash.patch
------------------+
PKGBUILD | 18 ++++++++----------
tree-crash.patch | 13 -------------
2 files changed, 8 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-25 12:16:34 UTC (rev 211744)
+++ PKGBUILD 2014-04-25 13:42:02 UTC (rev 211745)
@@ -4,8 +4,8 @@
# Contributor: Daniel J Griffiths <ghost1227 at 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 @@
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 \
Deleted: tree-crash.patch
===================================================================
--- tree-crash.patch 2014-04-25 12:16:34 UTC (rev 211744)
+++ tree-crash.patch 2014-04-25 13:42:02 UTC (rev 211745)
@@ -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;
More information about the arch-commits
mailing list