Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/psmisc/files: psmisc-22.9-locale.patch
Date: Sat, 02 Jan 2010 14:25:03
Message-Id: E1NR4uX-0004O3-3Z@stork.gentoo.org
1 ssuominen 10/01/02 14:24:57
2
3 Added: psmisc-22.9-locale.patch
4 Log:
5 Fix building with -O0 where glibc doesn't include locale.h by itself wrt #299316.
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-process/psmisc/files/psmisc-22.9-locale.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/psmisc/files/psmisc-22.9-locale.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/psmisc/files/psmisc-22.9-locale.patch?rev=1.1&content-type=text/plain
13
14 Index: psmisc-22.9-locale.patch
15 ===================================================================
16 http://bugs.gentoo.org/show_bug.cgi?id=299316
17 http://sourceforge.net/tracker/?func=detail&aid=2922163&group_id=15273&atid=115273
18
19 --- psmisc-22.9/src/killall.c
20 +++ psmisc-22.9/src/killall.c
21 @@ -44,6 +44,10 @@
22 #include <ctype.h>
23 #include <assert.h>
24
25 +#ifdef HAVE_LOCALE_H
26 +#include <locale.h>
27 +#endif
28 +
29 #ifdef WITH_SELINUX
30 #include <selinux/selinux.h>
31 #endif /*WITH_SELINUX*/