patches/glibc/2.6/190-alpha-atfcts.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     1 --- glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h	2006-07-29 07:43:27.000000000 +0300
     2 +++ glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h.new	2008-07-26 08:45:06.000000000 +0300
     3 @@ -445,7 +445,7 @@
     4  /* The *at syscalls were introduced just after 2.6.16-rc1.  Due to the way the
     5     kernel versions are advertised we can only rely on 2.6.17 to have
     6     the code.  */
     7 -#if __LINUX_KERNEL_VERSION >= 0x020611
     8 +#if __LINUX_KERNEL_VERSION >= 0x020611 && !defined __alpha__
     9  # define __ASSUME_ATFCTS	1
    10  #endif
    11