[MacPorts] #71820: got @0.107: failed builds on macOS <13 due to lack of stravis() support
MacPorts
noreply at macports.org
Sun Feb 16 19:51:33 UTC 2025
#71820: got @0.107: failed builds on macOS <13 due to lack of stravis() support
---------------------------------------------+----------------------
Reporter: aeiouaeiouaeiouaeiouaeiouaeiou | Owner: artkiver
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: got |
---------------------------------------------+----------------------
Comment (by barracuda156):
If you compare 0.106 to 0.109, this chunk which fails to compile was
simply added in:
{{{
/* Log the request. */
if (gotwebd_env->gotwebd_verbose > 0) {
char *server_name = NULL;
char *querystring = NULL;
char *document_uri = NULL;
if (c->server_name[0] &&
stravis(&server_name, c->server_name, VIS_SAFE) == -1)
{
log_warn("stravis");
server_name = NULL;
}
if (c->querystring[0] &&
stravis(&querystring, c->querystring, VIS_SAFE) == -1)
{
log_warn("stravis");
querystring = NULL;
}
if (c->document_uri[0] &&
stravis(&document_uri, c->document_uri, VIS_SAFE) ==
-1) {
log_warn("stravis");
document_uri = NULL;
}
log_info("processing request: server='%s' query='%s' "
"document_uri='%s'",
server_name ? server_name : "",
querystring ? querystring : "",
document_uri ? document_uri : "");
free(server_name);
free(querystring);
free(document_uri);
}
}}}
Perhaps nothing horrible gonna happen if it is conditionally removed,
since it apparently worked before without it.
--
Ticket URL: <https://trac.macports.org/ticket/71820#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list