Author: ps-guest
Date: 2013-07-12 15:45:54 + (Fri, 12 Jul 2013)
New Revision: 5664
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 4739 (from glibc-bsd).
Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-07-10 05:52:02 UTC (rev
5663)
+++ glibc-package/trunk/debian/changelog2013-07-12 15:45:54 UTC (rev
5664)
@@ -14,7 +14,7 @@
into kfreebsd/local-nscd-no-sockcloexec.diff and
kfreebsd/local-linuxthreads-tlsdesc.diff
* add kfreebsd/local-fbtl.diff and kfreebsd/local-fbtl-depends.diff
- * kfreebsd/local-sysdeps.diff: update to revision 4727 (from glibc-bsd).
+ * kfreebsd/local-sysdeps.diff: update to revision 4739 (from glibc-bsd).
-- Aurelien Jarno Sun, 30 Jun 2013 01:45:35 +0200
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
2013-07-10 05:52:02 UTC (rev 5663)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
2013-07-12 15:45:54 UTC (rev 5664)
@@ -4560,7 +4560,7 @@
+
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/time.h
-@@ -0,0 +1,98 @@
+@@ -0,0 +1,102 @@
+/* System-dependent timing definitions. FreeBSD version.
+ Copyright (C) 1996-1997, 1999, 2000, 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
@@ -4605,10 +4605,6 @@
+# ifdef __USE_POSIX199309
+/* Identifier for system-wide realtime clock. */
+# define CLOCK_REALTIME 0
-+/* High-resolution timer from the CPU. */
-+# define CLOCK_PROCESS_CPUTIME_ID 2
-+/* Thread-specific CPU-time clock. */
-+# define CLOCK_THREAD_CPUTIME_ID3
+/* Monotonic system-wide clock. */
+# define CLOCK_MONOTONIC4
+/* These are BSD specific clocks. */
@@ -4624,6 +4620,14 @@
+#define CLOCK_MONOTONIC_FAST12 /* FreeBSD-specific. */
+#define CLOCK_SECOND13 /* FreeBSD-specific. */
+# endif
++/* Thread-specific CPU-time clock. */
++# define CLOCK_THREAD_CPUTIME_ID14
++/* High-resolution timer from the CPU. */
++# define CLOCK_PROCESS_CPUTIME_ID 15
++# ifdef __USE_BSD
++# define CPUCLOCK_WHICH_PID 0
++# define CPUCLOCK_WHICH_TID 1
++# endif
+
+/* Flag to indicate time is absolute. */
+# define TIMER_RELTIME 0 /* relative timer */
@@ -5097,7 +5101,7 @@
+#include
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/clock_getres.c
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,43 @@
+/* Copyright (C) 2006 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
@@ -5123,15 +5127,16 @@
+
+# define SYSDEP_GETRES \
+ case CLOCK_REALTIME:\
++ case CLOCK_VIRTUAL: \
++ case CLOCK_PROF:\
+ case CLOCK_MONOTONIC: \
++ case CLOCK_UPTIME: \
++ case CLOCK_UPTIME_PRECISE: \
++ case CLOCK_UPTIME_FAST: \
++ case CLOCK_REALTIME_PRECISE:\
+ case CLOCK_REALTIME_FAST: \
-+ case CLOCK_REALTIME_PRECISE:\
++ case CLOCK_MONOTONIC_PRECISE: \
+ case CLOCK_MONOTONIC_FAST: \
-+ case CLOCK_MONOTONIC_PRECISE: \
-+ case CLOCK_UPTIME: \
-+ case CLOCK_UPTIME_FAST: \
-+ case CLOCK_UPTIME_PRECISE: \
-+ case CLOCK_VIRTUAL: \
+ case CLOCK_SECOND: \
+retval = INLINE_SYSCALL (clock_getres, 2, clock_id, res); \
+break
@@ -5142,7 +5147,7 @@
+#include
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/clock_gettime.c
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,43 @@
+/* Copyright (C) 2006 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
@@ -5169,15 +5174,16 @@
+
+# define SYSDEP_GETTIME \
+ case CLOCK_REALTIME:\
++ case CLOCK_VIRTUAL: \
++ case CLOCK_PROF:\
+ case CLOCK_MONOTONIC: \
++ case CLOCK_UPTIME: \
++ case CLOCK_UPTIME_PRECISE: \
++ case CLOCK_UPTIME_FAST: \
++ case CLOCK_REALTIME_PRECISE:\
+ case CLOCK_REALTIME_FAST: \
-+ case CLOCK_REALTIME_PRECISE:\
++ case CLOCK_MONOTONIC_PRECISE: \
+ case CLOCK_MONOTONIC_FAST: \
-+ case CLOCK_MONOTONIC_PRECISE: \
-+ case CLOCK_UPTIME: \
-+ case CLOCK_UPTIME_FAST: \
-+ case CLOCK_UPTIME_PRECISE: \
-+ case CLOCK_VIRTUAL: \
+ case CLOCK_SECOND: \
+retval = INLINE_SYSCALL (clock_gettime, 2, clock_id, tp); \
+break
@@ -6943,7 +6949,7 @@
+pthread
--- /dev/null
+++ b