python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / owfs / 0001-configure.ac-check-for-localtime_r.patch
blobc4c384457f0f4941d0fd2ea164938b8b540c6090
1 From 75e92438bcdb78a90912366b07bf503646806686 Mon Sep 17 00:00:00 2001
2 From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
3 Date: Sun, 21 Feb 2016 17:02:06 +0100
4 Subject: [PATCH] configure.ac: check for localtime_r
6 HAVE_LOCALTIME_R is used in owftp.c, so it should be checked for.
8 Without this, static build fails because localtime_r is defined twice.
10 Upstream-Status: Submitted
11 https://sourceforge.net/p/owfs/mailman/message/34873667/
13 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
14 ---
15 configure.ac | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/configure.ac b/configure.ac
19 index c22dde9..12fdd18 100644
20 --- a/configure.ac
21 +++ b/configure.ac
22 @@ -1529,7 +1529,7 @@ AC_FUNC_SELECT_ARGTYPES
23 AC_FUNC_STRFTIME
24 AC_FUNC_STRTOD
25 AC_TYPE_SIGNAL
26 -AC_CHECK_FUNCS([accept daemon getaddrinfo freeaddrinfo gethostbyname2_r gethostbyaddr_r gethostbyname_r getservbyname_r getopt getopt_long gettimeofday inet_ntop inet_pton memchr memset select socket strcasecmp strchr strdup strncasecmp strtol strtoul twalk tsearch tfind tdelete tdestroy vasprintf strsep vsprintf vsnprintf writev getline])
27 +AC_CHECK_FUNCS([accept daemon getaddrinfo freeaddrinfo gethostbyname2_r gethostbyaddr_r gethostbyname_r getservbyname_r getopt getopt_long gettimeofday inet_ntop inet_pton memchr memset select socket strcasecmp strchr strdup strncasecmp strtol strtoul twalk tsearch tfind tdelete tdestroy vasprintf strsep vsprintf vsnprintf writev getline localtime_r])
29 if test "${ENABLE_ZERO}" = "true" ; then
30 AC_SEARCH_LIBS(dlopen, dl, AC_DEFINE(HAVE_DLOPEN, 1, [Define if you have dlopen]))
31 --
32 2.7.0