[Buildroot] [PATCH] uclibc: synchronize bits/time.h with latest glibc
Max Filippov
jcmvbkbc at gmail.com
Fri Aug 15 10:03:33 UTC 2014
This fixes NetworkManager build on uClibc.
Fixes:
http://autobuild.buildroot.net/results/d33/d33ed1c3bf1be7c8f8ea02590a770b0d29c7d9fa/
Backported from: e2cf30bb7543a99defd457226a39de8d8860fa9e
Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
---
...c-0003-bits-time.h-sync-with-latest-glibc.patch | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 package/uclibc/7bf35c8b7d4a1f97174eb49f47f33946b282114c/uclibc-0003-bits-time.h-sync-with-latest-glibc.patch
diff --git a/package/uclibc/7bf35c8b7d4a1f97174eb49f47f33946b282114c/uclibc-0003-bits-time.h-sync-with-latest-glibc.patch b/package/uclibc/7bf35c8b7d4a1f97174eb49f47f33946b282114c/uclibc-0003-bits-time.h-sync-with-latest-glibc.patch
new file mode 100644
index 0000000..de3fe13
--- /dev/null
+++ b/package/uclibc/7bf35c8b7d4a1f97174eb49f47f33946b282114c/uclibc-0003-bits-time.h-sync-with-latest-glibc.patch
@@ -0,0 +1,38 @@
+From e2cf30bb7543a99defd457226a39de8d8860fa9e Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier at gentoo.org>
+Date: Fri, 1 Aug 2014 04:16:12 -0400
+Subject: [PATCH] bits/time.h: sync with latest glibc
+
+Signed-off-by: Mike Frysinger <vapier at gentoo.org>
+---
+ libc/sysdeps/linux/common/bits/time.h | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/libc/sysdeps/linux/common/bits/time.h b/libc/sysdeps/linux/common/bits/time.h
+index b397b60..c4269ae 100644
+--- a/libc/sysdeps/linux/common/bits/time.h
++++ b/libc/sysdeps/linux/common/bits/time.h
+@@ -1,5 +1,5 @@
+-/* System-dependent timing definitions. Generic version.
+- Copyright (C) 1996,1997,1999-2002,2003 Free Software Foundation, Inc.
++/* System-dependent timing definitions. Linux version.
++ Copyright (C) 1996-2014 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+@@ -59,6 +59,12 @@
+ # define CLOCK_REALTIME_COARSE 5
+ /* Monotonic system-wide clock, updated only on ticks. */
+ # define CLOCK_MONOTONIC_COARSE 6
++/* Monotonic system-wide clock that includes time spent in suspension. */
++# define CLOCK_BOOTTIME 7
++/* Like CLOCK_REALTIME but also wakes suspended system. */
++# define CLOCK_REALTIME_ALARM 8
++/* Like CLOCK_BOOTTIME but also wakes suspended system. */
++# define CLOCK_BOOTTIME_ALARM 9
+
+ /* Flag to indicate time is absolute. */
+ # define TIMER_ABSTIME 1
+--
+1.8.1.4
+
--
1.8.1.4
More information about the buildroot
mailing list