psmisc: update to 22.10

This commit is contained in:
Juergen Daubert 2010-01-05 12:10:33 +01:00
parent f9197025e8
commit faba239eef
3 changed files with 3 additions and 23 deletions

View File

@ -1,2 +1 @@
b11077adaffa650bf01febce5ea97d5e psmisc-22.9-locale.patch
c242530de46b951ab10a2237a6048a9c psmisc-22.9.tar.gz
e881383e7f399121cd0ce744f97d91a5 psmisc-22.10.tar.gz

View File

@ -4,14 +4,12 @@
# Depends on: ncurses
name=psmisc
version=22.9
version=22.10
release=1
source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz
$name-$version-locale.patch)
source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-$version-locale.patch
./configure --prefix=/usr --disable-nls --mandir=/usr/man
make
make DESTDIR=$PKG install

View File

@ -1,17 +0,0 @@
# http://sourceforge.net/tracker/?func=detail&aid=2922163&group_id=15273&atid=115273
# http://bugs.gentoo.org/show_bug.cgi?id=299316
--- psmisc-22.9/src/killall.c
+++ psmisc-22.9/src/killall.c
@@ -44,6 +44,10 @@
#include <ctype.h>
#include <assert.h>
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
#ifdef WITH_SELINUX
#include <selinux/selinux.h>
#endif /*WITH_SELINUX*/