patches/ltrace/0.5.3/170-lib-supcc.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 Index: ltrace-0.5.3/configure
     2 ===================================================================
     3 --- ltrace-0.5.3/configure
     4 +++ ltrace-0.5.3/configure
     5 @@ -78,7 +78,10 @@ fi
     6  rm -f conftest.c a.out
     7  
     8  CFLAGS='-g -O2'
     9 -LIBS='-lelf -lsupc++ -liberty '
    10 +LIBS='-lelf'
    11 +[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
    12 +[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"
    13 +
    14  INSTALL='install -c'
    15  iquote='-iquote '
    16  iquoteend=''