aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux-2.21/uclibc-compile.patch
blob: 75774d82009e1a47f025ce321e6fcc7dfc78c013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Upstream-Status: Inappropriate [embedded specific]

Index: util-linux-ng-2.16/misc-utils/cal.c
===================================================================
--- util-linux-ng-2.16.orig/misc-utils/cal.c	2009-07-03 16:20:01.000000000 -0700
+++ util-linux-ng-2.16/misc-utils/cal.c	2009-07-18 23:21:37.000000000 -0700
@@ -407,7 +407,7 @@
   strcpy(day_headings,"");
   strcpy(j_day_headings,"");
 
-#ifdef HAVE_LANGINFO_H
+#ifdef HAVE_LANGINFO_H && !defined(__UCLIBC__)
 # define weekday(wd)	nl_langinfo(ABDAY_1+wd)
 #else
 # define weekday(wd)	_time_info->abbrev_wkday[wd]