Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Max Filippov <jcmvbkbc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] uclibc: synchronize bits/time.h with latest glibc
Date: Fri, 15 Aug 2014 14:03:33 +0400	[thread overview]
Message-ID: <1408097013-6159-1-git-send-email-jcmvbkbc@gmail.com> (raw)

This fixes NetworkManager build on uClibc.

Fixes:
  http://autobuild.buildroot.net/results/d33/d33ed1c3bf1be7c8f8ea02590a770b0d29c7d9fa/

Backported from: e2cf30bb7543a99defd457226a39de8d8860fa9e
Signed-off-by: Max Filippov <jcmvbkbc@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@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@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

             reply	other threads:[~2014-08-15 10:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15 10:03 Max Filippov [this message]
2014-08-15 11:47 ` [Buildroot] [PATCH] uclibc: synchronize bits/time.h with latest glibc Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408097013-6159-1-git-send-email-jcmvbkbc@gmail.com \
    --to=jcmvbkbc@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox