patches/glibc/2.10.1/920-make-382.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
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 diff -urN glibc-2.10.1-orig/manual/Makefile glibc-2.10.1/manual/Makefile
     2 --- glibc-2.10.1-orig/manual/Makefile 2006-01-07 22:43:47.000000000 -0800
     3 +++ glibc-2.10.1/manual/Makefile 2014-01-15 11:49:08.256982014 -0800
     4 @@ -232,7 +232,11 @@
     5  .PHONY: stubs
     6  stubs: $(objpfx)stubs
     7  endif
     8 -$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
     9 +$(objpfx)stamp%:
    10 +	$(make-target-directory)
    11 +	touch $@
    12 +
    13 +$(objpfx)stubs ../po/manual.pot:
    14  	$(make-target-directory)
    15  	touch $@
    16