patches/strace/4.5.19/160-fix-check-for-linux-netlink.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 Dmitry V. Levin [Tue, 3 Nov 2009 16:49:49 +0000]
     2 
     3 Fix check for linux/netlink.h on Linux 2.6.32-rc5+
     4 
     5 * configure.ac (AC_CHECK_HEADERS): In check for linux/netlink.h, include 
     6   sys/socket.h instead of linux/socket.h beforehand.
     7 
     8 diff --git a/configure.ac b/configure.ac
     9 --- a/configure.ac
    10 +++ b/configure.ac
    11 @@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \
    12  ], [], [])
    13  AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
    14                   [], [], [#include <stddef.h>
    15 -#include <linux/socket.h>])
    16 +#include <sys/socket.h>])
    17  AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
    18  AC_CHECK_TYPES([struct sigcontext_struct,
    19  		struct sigcontext],,, [#include <signal.h>])