From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MABpK-0001iF-J5 for garchives@archives.gentoo.org; Fri, 29 May 2009 23:49:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF3EAE0299; Fri, 29 May 2009 23:49:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9168CE0299 for ; Fri, 29 May 2009 23:49:29 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 398E166910 for ; Fri, 29 May 2009 23:49:29 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MABpI-0006j5-TP for gentoo-commits@lists.gentoo.org; Fri, 29 May 2009 23:49:28 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/util-linux/files: util-linux-2.15-locale.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: util-linux-2.15-locale.patch X-VCS-Directories: sys-apps/util-linux/files X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Fri, 29 May 2009 23:49:28 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b1135cdc-d66e-47b8-a477-3b0ce148035c X-Archives-Hash: 484f6aff09235af52af1e75a2f5eddc5 vapier 09/05/29 23:49:28 Added: util-linux-2.15-locale.patch Log: Add fix from upstream for locale build failure on uClibc #271154 by Gia= nluigi Tiesi. (Portage version: 2.2_rc33/cvs/Linux x86_64) Revision Changes Path 1.1 sys-apps/util-linux/files/util-linux-2.15-locale.pat= ch file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linu= x/files/util-linux-2.15-locale.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linu= x/files/util-linux-2.15-locale.patch?rev=3D1.1&content-type=3Dtext/plain Index: util-linux-2.15-locale.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://bugs.gentoo.org/271154 >From a88057d9a329c11a5d4eaf7e15ce25b09be800e5 Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Thu, 14 May 2009 22:43:02 -0400 Subject: [PATCH] cal: uClibc has langinfo.h but not _NL_TIME_WEEK_1STDAY. Signed-off-by: Tom Prince --- configure.ac | 2 ++ misc-utils/cal.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 1abf688..af946a1 100644 --- a/configure.ac +++ b/configure.ac @@ -105,6 +105,8 @@ AC_CHECK_HEADERS([linux/raw.h], [AM_CONDITIONAL([HAVE_RAW], [true])], [AM_CONDITIONAL([HAVE_RAW], [false])]) =20 +AC_CHECK_DECLS([_NL_TIME_WEEK_1STDAY],[],[],[[#include ]]) + AC_CHECK_FUNCS( [inet_aton \ fsync \ diff --git a/misc-utils/cal.c b/misc-utils/cal.c index f2d52e8..a8534b8 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -291,7 +291,7 @@ main(int argc, char **argv) { * the locale database, which can be overridden with the * -s (Sunday) or -m (Monday) options. */ -#ifdef HAVE_LANGINFO_H +#if HAVE_DECL__NL_TIME_WEEK_1STDAY /* * You need to use 2 locale variables to get the first day of the week. * This is needed to support first_weekday=3D2 and first_workday=3D1 fo= r --=20 1.6.3