Gentoo Archives: gentoo-commits

From: "Stanislav Ochotnicky (sochotnicky)" <sochotnicky@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/rpm/files: rpm-4.4.7-have-locale-h.patch
Date: Tue, 01 Jun 2010 18:34:29
Message-Id: 20100601183425.79BDE2CE14@corvid.gentoo.org
1 sochotnicky 10/06/01 18:34:25
2
3 Added: rpm-4.4.7-have-locale-h.patch
4 Log:
5 Fix for bug #227939
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 app-arch/rpm/files/rpm-4.4.7-have-locale-h.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/files/rpm-4.4.7-have-locale-h.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/files/rpm-4.4.7-have-locale-h.patch?rev=1.1&content-type=text/plain
13
14 Index: rpm-4.4.7-have-locale-h.patch
15 ===================================================================
16 diff -ur rpm-4.4.7.orig/configure.ac rpm-4.4.7/configure.ac
17 --- rpm-4.4.7.orig/configure.ac 2010-04-06 22:43:07.000000000 +0300
18 +++ rpm-4.4.7/configure.ac 2010-04-07 20:53:40.000000000 +0300
19 @@ -1120,6 +1120,7 @@
20 LIBS="$LIBS -lefence"
21 fi
22
23 +AC_CHECK_HEADER([locale.h], [AC_DEFINE(HAVE_LOCALE_H, 1, [locale.h isn't properly included without this])])
24 AC_CHECK_FUNCS(setlocale)
25
26 dnl XXX Solaris <= 2.6 only permits 8 chars in password.