diff --git a/glibc-fedora.patch b/glibc-fedora.patch index 149227b..427331c 100644 --- a/glibc-fedora.patch +++ b/glibc-fedora.patch @@ -3330,7 +3330,7 @@ - } -} --- libc/linuxthreads/sysdeps/pthread/getcpuclockid.c 2005-04-27 13:04:55.000000000 +0200 -+++ libc/linuxthreads/sysdeps/pthread/getcpuclockid.c 2005-04-27 14:52:42.000000000 +0200 ++++ libc/linuxthreads/sysdeps/pthread/getcpuclockid.c 2005-04-27 15:16:42.000000000 +0200 @@ -1,5 +1,5 @@ /* pthread_getcpuclockid -- Get POSIX clockid_t for a pthread_t. Linux version - Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. @@ -3338,12 +3338,29 @@ This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or -@@ -23,7 +23,7 @@ +@@ -22,8 +22,9 @@ + #include #include #include ++#include #include "kernel-features.h" -#include "posix-cpu-timers.h" +#include "kernel-posix-cpu-timers.h" #if !(__ASSUME_POSIX_CPU_TIMERS > 0) +@@ -58,12 +59,12 @@ pthread_getcpuclockid (pthread_t thread_ + # if !(__ASSUME_POSIX_CPU_TIMERS > 0) + # if !(__ASSUME_POSIX_TIMERS > 0) + if (__libc_missing_posix_timers && !__libc_missing_posix_cpu_timers) +- __libc_missing_cpu_posix_timers = 1; ++ __libc_missing_posix_cpu_timers = 1; + # endif + if (!__libc_missing_posix_cpu_timers) + { + INTERNAL_SYSCALL_DECL (err); +- int r = INTERNAL_SYSCALL (clock_getres, err, 2, tidclock, NULL); ++ int r = INTERNAL_SYSCALL (clock_getres, err, 2, pidclock, NULL); + if (!INTERNAL_SYSCALL_ERROR_P (r, err)) + # endif + {