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>
kinglag@3281
     1
diff -urN glibc-2.10.1-orig/manual/Makefile glibc-2.10.1/manual/Makefile
kinglag@3281
     2
--- glibc-2.10.1-orig/manual/Makefile 2006-01-07 22:43:47.000000000 -0800
kinglag@3281
     3
+++ glibc-2.10.1/manual/Makefile 2014-01-15 11:49:08.256982014 -0800
kinglag@3281
     4
@@ -232,7 +232,11 @@
kinglag@3281
     5
 .PHONY: stubs
kinglag@3281
     6
 stubs: $(objpfx)stubs
kinglag@3281
     7
 endif
kinglag@3281
     8
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
kinglag@3281
     9
+$(objpfx)stamp%:
kinglag@3281
    10
+	$(make-target-directory)
kinglag@3281
    11
+	touch $@
kinglag@3281
    12
+
kinglag@3281
    13
+$(objpfx)stubs ../po/manual.pot:
kinglag@3281
    14
 	$(make-target-directory)
kinglag@3281
    15
 	touch $@
kinglag@3281
    16