--- /dev/null
+--- psmisc-22.11/configure.ac~ 2010-04-09 23:22:57.393791668 +0200
++++ psmisc-22.11/configure.ac 2010-04-09 23:28:01.826051280 +0200
+@@ -65,7 +65,10 @@
+ struct user_regs_struct.rax,
+ struct user_regs_struct.rdi,
+ struct user_regs_struct.rsi,
+- struct user_regs_struct.rdx], [],[], [#include <sys/user.h>])
++ struct user_regs_struct.rdx], [],[], [
++ #include <sys/types.h>
++ #include <sys/user.h>
++ ])
+ AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3,
+ struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>])
+ AM_CONDITIONAL(WANT_PEEKFD_I386,
Summary(uk.UTF-8): Утиліти роботи з процесами
Name: psmisc
Version: 22.11
-Release: 1
+Release: 2
License: GPL v2+
Group: Applications/System
Source0: http://downloads.sourceforge.net/psmisc/%{name}-%{version}.tar.gz
# Source0-md5: b5d32aa285b75c59dee96d3ea26a4881
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 9add7665e440bbd6b0b4f9293ba8b86d
+Patch0: %{name}-build.patch
URL: http://psmisc.sourceforge.net/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.10
%prep
%setup -q
+%patch0 -p1
%build
%{__gettextize}