On 2019/03/08 07:27, Björn Ketelaars wrote: > On Fri 08/03/2019 02:55, Stuart Henderson wrote: > > On 2019/03/07 07:09, Björn Ketelaars wrote: > > > Diff below brings miniupnpd to the latest version (2.1). Changelog can > > > be found at > > > http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-2.1.tar.gz > > > > > > (Lightly) tested at home by a PS4-fanatic. > > > > > > OK? > > > > > Either remove the whole patch (good until time_t wrap...at least it's > > the test rather than the main code), or keep the format string patches > > and change the cast from long to long long. > > I thought I had the latter in my working tree. Guess I made a mistake in > my workflow. Thanks for noticing! New diff attached, only change is the > long long cast. > > OK?
Please add this (copied from dragonfly entry below), then it's OK. Index: patches/patch-genconfig_sh =================================================================== RCS file: patches/patch-genconfig_sh diff -N patches/patch-genconfig_sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-genconfig_sh 9 Mar 2019 16:07:56 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Index: genconfig.sh +--- genconfig.sh.orig ++++ genconfig.sh +@@ -162,7 +162,9 @@ case $OS_NAME in + FW=pf + echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} + OS_URL=http://www.openbsd.org/ +- V6SOCKETS_ARE_V6ONLY=`sysctl -n net.inet6.ip6.v6only` ++ # net.inet6.ip6.v6only has been on by default for many years ++ # and this sysctl node has been removed ++ V6SOCKETS_ARE_V6ONLY=1 + ;; + FreeBSD | GNU/kFreeBSD) + VER=`grep '#define __FreeBSD_version' /usr/include/sys/param.h | awk '{print $3}'`