summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/files/uclibc-compile.patch
blob: def23360479b3d85d1173aaac7f17073b9187f74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: util-linux-ng-2.15/libs/blkid/src/blkidP.h
===================================================================
--- util-linux-ng-2.15.orig/libs/blkid/src/blkidP.h	2009-07-01 23:09:57.000000000 +0200
+++ util-linux-ng-2.15/libs/blkid/src/blkidP.h	2009-07-01 23:10:09.000000000 +0200
@@ -18,6 +18,7 @@
 
 #include <sys/types.h>
 #include <stdio.h>
+#include <stdarg.h>
 
 #include "bitops.h"	/* $(top_srcdir)/include/ */
 #include "blkid.h"
Index: util-linux-ng-2.15/misc-utils/cal.c
===================================================================
--- util-linux-ng-2.15.orig/misc-utils/cal.c	2009-07-01 23:16:54.000000000 +0200
+++ util-linux-ng-2.15/misc-utils/cal.c	2009-07-01 23:17:08.000000000 +0200
@@ -291,7 +291,7 @@
  * the locale database, which can be overridden with the
  * -s (Sunday) or -m (Monday) options.
  */
-#ifdef HAVE_LANGINFO_H
+#if defined(HAVE_LANGINFO_H) && !defined(__UCLIBC__)
 	/*
 	 * You need to use 2 locale variables to get the first day of the week.
 	 * This is needed to support first_weekday=2 and first_workday=1 for