Reset the PNVM segment count back to zero after we free the segments.
Prevents us from calling bus_dmamap_sync(9) on random DMA map pointers
when reloading the firmware.
ok stsp@
If we have a non-zero hint and none of the address selectors managed to
return a valid address, set the hint to zero and retry. This fixes
mmap(2) with a hint (and without MAP_FIXED) when the hint falls outside
of the userland address space range.
ok deraadt@
Prevent false ELOOP error in socket splicing.
To avoid endless splicing loops, the mbuf's lifetime is limited by
the ph_loopcnt counter. Each time somove() runs, it compares the
value to a maximum and increments.
In the unlikely case that the drain buffer is full, the mbuf stays
in the source buffer after incrementing. When more data arrives
and somove() is called, the counter at the same mbuf is incremented
again. Eventually the maxium could be reached and splicing dissolves
with ELOOP. This is not intended for mbufs which are never moved,
we want to count the moves.
Fix the race and increment just before sending the mbuf out to the
drain buffer.
OK mvs@
fix two leaks in interpreter.c; from Han Boetes (hboetes at gmail)
- upon redefinition of a variable, free the content of the old varentry
- free v1 if strndup fails, and delay the SLIST_INSERT_HEAD
audio/gmpc-plugins: disable all plugins but shout, which is the only one i use.
other plugins probably don't work anymore, and would need to be ported
to gtk+3 anyway.
audio/gmpc: update to last commit from github (2020)
- gmpc is dead upstream, but at least the repo on github has it ported to
gtk3, and it works here in daily use since some weeks.
- Per debian bug #967436, they consider doing the same when deprecating gtk+2 in forky.
- Add a patch from debian to port from devel/libsoup to devel/libsoup3.
- Add a bunch of patches to silence debug printfs while here.
this now depends on audio/glyr for all metadata fetching, which was
previously in separate plugins.
audio/glyr: disable all broken metadata providers, update to musicbrainz v2 API
musicbrainz v1 API was removed in 2018, glyr itself is more or less
abandoned upstream in 2016, but some metadata providers still work fine
(mostly lastfm, musicbrainz, lyrix & elyrics)
required to update audio/gmpc to a less deprecated version and somewhat
retain metadata fetching..
print/scribus: update to 1.7.2.
see https://wiki.scribus.net/canvas/1.7.2_Release
play the patch whack-a-mole since patches fixing the build with poppler
25.7, 25.9, 25.10 & 26.01 were merged upstream, and only keep the one
fixing the build with poppler 26.02.
x11/lxqt/config: backport build fix with kscreen 6.6
ideally one should update lxqt-config to 2.3.1 which includes that fix,
but sadly x11/lxqt doesn't have a maintainer to properly update the
whole desktop environment to 2.3, and enable wayland support... any
takers ?