diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-core/util-linux/util-linux/uclibc-compile.patch | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/uclibc-compile.patch')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/uclibc-compile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/uclibc-compile.patch b/meta/recipes-core/util-linux/util-linux/uclibc-compile.patch new file mode 100644 index 0000000000..75774d8200 --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux/uclibc-compile.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Index: util-linux-ng-2.16/misc-utils/cal.c | ||
4 | =================================================================== | ||
5 | --- util-linux-ng-2.16.orig/misc-utils/cal.c 2009-07-03 16:20:01.000000000 -0700 | ||
6 | +++ util-linux-ng-2.16/misc-utils/cal.c 2009-07-18 23:21:37.000000000 -0700 | ||
7 | @@ -407,7 +407,7 @@ | ||
8 | strcpy(day_headings,""); | ||
9 | strcpy(j_day_headings,""); | ||
10 | |||
11 | -#ifdef HAVE_LANGINFO_H | ||
12 | +#ifdef HAVE_LANGINFO_H && !defined(__UCLIBC__) | ||
13 | # define weekday(wd) nl_langinfo(ABDAY_1+wd) | ||
14 | #else | ||
15 | # define weekday(wd) _time_info->abbrev_wkday[wd] | ||