[asterisk-bugs] [JIRA] (ASTERISK-27712) [patch] BuildSystem: Detect whether uselocale(.) is available.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Sat Mar 3 06:54:13 CST 2018
Alexander Traud created ASTERISK-27712:
------------------------------------------
Summary: [patch] BuildSystem: Detect whether uselocale(.) is available.
Key: ASTERISK-27712
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27712
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/BuildSystem
Affects Versions: 13.19.2
Environment: NetBSD 7.1.1
Reporter: Alexander Traud
Attachments: NetBSD_avoid_uselocale.patch
{code}[cc] stdtime/localtime.c: In function 'ast_setlocale':
stdtime/localtime.c: warning: implicit declaration of function 'uselocale'
[ld] undefined reference to 'uselocale'{code}NetBSD does not provide the function [{{uselocale(.)}}|http://man7.org/linux/man-pages/man3/uselocale.3.html] as explained in [this discussion...|http://mail-index.netbsd.org/netbsd-users/2017/02/14/msg019351.html]
The NetBSD port contains a patch created in June 2013, which uses the proposed strategy. However, the first step is to double-check whether the platform has {{uselocale(.)}} at all. That part is addressed with the attached patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list