Merge pull request #264 from bhundven/uclibc-ng-update

uClibc-ng: Update to uClibc-ng-1.0.9
This commit is contained in:
Bryan Hundven 2015-11-15 09:42:47 -08:00
commit 4b5f10df03
2 changed files with 4 additions and 38 deletions

View File

@ -26,10 +26,10 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config LIBC_UCLIBC_NG_V_1_0_8
config LIBC_UCLIBC_NG_V_1_0_9
bool
prompt "1.0.8"
select LIBC_UCLIBC_NG_1_0_8_or_later
select LIBC_UCLIBC_NG_1_0_9_or_later
config LIBC_UCLIBC_V_0_9_33_2
bool
@ -60,10 +60,10 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "1.0.8" if LIBC_UCLIBC_NG_V_1_0_8
default "1.0.9" if LIBC_UCLIBC_NG_V_1_0_9
default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
config LIBC_UCLIBC_NG_1_0_8_or_later
config LIBC_UCLIBC_NG_1_0_9_or_later
bool
select LIBC_UCLIBC_NG_1_0_0_or_later

View File

@ -1,34 +0,0 @@
From 1e85892911bf016e9bb2a647b6584cdd806706f8 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Tue, 3 Nov 2015 15:32:23 +0100
Subject: [PATCH] unistd: fix #if condition
Commit dfa593d4d881116723a4401b466ea964fb12327b ("syncfs: add system
call support") modified the #if condition around the definition of the
syncfs() prototype in a way that doesn't build, causing build failures
of any file including <unistd.h>:
output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:988:14: error: #if with no expression
#if __USE_GNU
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
include/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/unistd.h b/include/unistd.h
index 4701dab..40d6abd 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1073,7 +1073,7 @@ extern char *getpass (const char *__prompt) __nonnull ((1));
extern int fsync (int __fd);
#endif /* Use BSD || X/Open || Unix98. */
-#if __USE_GNU
+#if defined __USE_GNU
/* Make all changes done to all files on the file system associated
* with FD actually appear on disk. */
extern int syncfs (int __fd) __THROW;
--
2.6.2