patches/glibc/2.7/200-alpha-atfcts.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 744 4bf8448536d5
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     1 --- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h	2007-08-14 06:21:09.000000000 +0300
     2 +++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new	2008-07-23 07:05:20.000000000 +0300
     3 @@ -449,8 +449,7 @@
     4     and on Alpha just after 2.6.22-rc1.  */
     5  #if __LINUX_KERNEL_VERSION >= 0x020611 \
     6      && ((!defined __sh__ && !defined __alpha__) \
     7 -	|| (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \
     8 -	|| (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__))
     9 +	|| (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__))
    10  # define __ASSUME_ATFCTS	1
    11  #endif
    12