Force C++11 mode and fix incompatibility with NULL being
defined as nullptr on FreeBSD.
PR: 199600
Reported by: pkg-fallout, DPorts
Approved by: Rainer Hurling <rhurlin@gwdg.de> (maintainer)
"defined(@array)" and "defined(%hash)" are now fatal errors
These have been deprecated since v5.6.1 and have raised deprecation
warnings since v5.16.
With hat: perl@
Sponsored by: Absolight
FreeBSD, setting the speed of a TERMIOS terminal is done using the ispeed and
ospeed options.
But when using simultaneously ispeed and ospeed parameters with SOCAT, the speed
values are set within two distinct ioctl requests, so changing the speed of
terminals or devices that need matching input and output returns an Invalid
argument error (the TIOCSETA/TIOCSETAW/TIOCSETAF ioctl returns -1 and sets errno
to EINVAL).
This is especially the case On FreeBSD, where many tty device drivers need
matching input and output speeds: - those that depend on ucom(4): uark(4),
ubsa(4), ubser(4), uftdi(4), umcs(4), uplcom(4), uslcom(4), uvscom(4) - some
others, even not depending on ucom(4): sio(4), digi(4), rp(4) But some don't:
tty(4)
With those drivers, the input and output speeds must match and be set inside a
single ioctl request (TIOCSETA, TIOCSETAW or TIOCSETAF). The only exception to
this rule is when the input baud rate is zero because, according to POSIX, in
that case, the input baud rate is set equal to the output baud rate.
For instance, this call to SOCAT on FreeBSD 10.1 terminates immediately with an
EINVAL error: # socat -d /dev/cuaU2,ispeed=57600,ospeed=57600,echo=0,raw
TCP-LISTEN:9000,reuseaddr 2015/03/09 00:43:33 socat[20723] E tcsetattr(3,
TCSADRAIN, 0x7fffffffe148): Invalid argument
Provide a patch that avoids this type of error: when setting both input and
output speeds, only one ioctl syscall is performed.
PR: 198441
Submitted by: Alexandre Fenyo <fbsd.bugzilla@fenyo.net>
According to vendor's recommendations safely remove NGX_THREADS macro
with some long unused code from some third-party modules.
Merge changes from www/nginx-devel to www/nginx.
Merge third-pary upstream_sticky module from www/nginx to www/nginx-devel.
Remove outdated syslog support.
A few more tools and examples came in. The build instruction was
unmasked, listed were put into alphabetical order. The static library
in now installed with INSTALL_DATA because INSTALL_LIB will strip the
symbols and this causes issues on Ada libraries.