r5038 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibault
Date: 2011-11-12 14:03:09 +0000 (Sat, 12 Nov 2011)
New Revision: 5038
Added:
glibc-package/trunk/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series.hurd-i386
Log:
patches/hurd-i386/local-clock_gettime_MONOTONIC.diff: New patch to brown-tape fix iceweasel.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2011-11-12 01:27:30 UTC (rev 5037)
+++ glibc-package/trunk/debian/changelog 2011-11-12 14:03:09 UTC (rev 5038)
@@ -43,6 +43,8 @@
* patches/hurd-i386/cvs-sgttyb.diff: New patch to fix sgttyb ioctls values.
* patches/hurd-i386/tg-dup3.diff: New patch from Hurd topgit to implement dup3.
* patches/hurd-i386/submitted-dup2-fix.diff: Trivially port to dup3.
+ * patches/hurd-i386/local-clock_gettime_MONOTONIC.diff: New patch to
+ brown-tape fix iceweasel.
[ Petr Salinger ]
* kfreebsd/local-sysdeps.diff: update to revision 3763 (from glibc-bsd).
Added: glibc-package/trunk/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff 2011-11-12 14:03:09 UTC (rev 5038)
@@ -0,0 +1,19 @@
+Use the realtime clock for the monotonic clock. This is of course not a proper
+implementation (which is being done in Mach), but will permit to fix at least
+the iceweasel stack.
+
+---
+ clock_gettime.c | 1 +
+ 1 file changed, 1 insertion(+)
+diff --git a/sysdeps/unix/clock_gettime.c b/sysdeps/unix/clock_gettime.c
+index d467f2b..fcf892a 100644
+--- a/sysdeps/unix/clock_gettime.c
++++ b/sysdeps/unix/clock_gettime.c
+@@ -101,6 +101,7 @@ clock_gettime (clockid_t clock_id, struct timespec *tp)
+ #endif
+
+ #ifndef HANDLED_REALTIME
++ case CLOCK_MONOTONIC:
+ case CLOCK_REALTIME:
+ {
+ struct timeval tv;
Modified: glibc-package/trunk/debian/patches/series.hurd-i386
===================================================================
--- glibc-package/trunk/debian/patches/series.hurd-i386 2011-11-12 01:27:30 UTC (rev 5037)
+++ glibc-package/trunk/debian/patches/series.hurd-i386 2011-11-12 14:03:09 UTC (rev 5038)
@@ -6,3 +6,4 @@
hurd-i386/unsubmitted-unlockpt-chroot.diff
hurd-i386/local-msg-nosignal.diff
hurd-i386/unsubmitted-pthread.diff
+hurd-i386/local-clock_gettime_MONOTONIC.diff
Reply to: