net/wakeonlan: update 0.42 -> 0.50
Changelog: https://raw.githubusercontent.com/jpoliv/wakeonlan/refs/heads/master/Changes
Major changes:
- doc:change license from Artistic to Artistic-2.0
- fix: accept named pipes (FIFOs) as valid --file input
- fix: normalize single hex digit fields to two hex digits
- fix: fall back to port 9 when the discard service is unknown
- feat: add delay option
net-mgmt/pmacct: update 1.7.8 -> 1.7.9
- Note: PGSQL option is broken
- fixes build problem with libcdada
PR: 298037
Reported-by: info at ubilling.net.ua
Reported-by: olivier
mount_lfs(8): Add unreachable() to fix clang build.
dependall ===> sbin/mount_lfs
/home/source/ab/HEAD-llvm/src/sbin/mount_lfs/mount_lfs.c:319:1: error: function declared 'noreturn' should not return [-Werror,-Winvalid-noreturn]
The only two cases in invoke_cleaner are already handled, so the rest
should be unreachable.
Move /tmp clearing earlier in /etc/rc
Moving pruning above relinking and early daemon startup to be able
to clear everything old without removing entries that are in use.
The goals are:
1) free up at least one inode, because mkstemp needs at least one
2) free up a few more, just in case. We settled on 50.
3) With an inode freed up for mktemp, create a directory and move all the
deleteable files into that directory and remove it asyncronously.
The first two goals were very fiddly to get right.
Much help and discussion with deraadt@ plus dlg@ and kn@
ok for an earlier diff from kn@
[libc] Disable float16 on 32-bit x86 without SSE2 (#219675)
Fixes #219668
Building llvm 23.1.0 (and current main) for 32-bit x86 without SSE2
fails since APFloat.cpp started including libc's shared/math.h. All the
errors come from the float16 headers:
```
libc/src/__support/FPUtil/BasicOperations.h:63:67: error: SSE register return with SSE2 disabled
libc/src/__support/math/acosf16.h:73:14: error: invalid conversion from type '_Float16' without option '-msse2'
```
The float16 detection in float16-macros.h checks __FLT16_MANT_DIG__.
Since GCC 14 that macro is defined on ia32 even without SSE2, where
_Float16 is storage-only and any arithmetic or returning by value is an
error.
The GCC 14 release notes say to check __SSE2__ for arithmetic support
instead: https://gcc.gnu.org/gcc-14/changes.html
[9 lines not shown]
[X86] Fold ADC(SHL(X, 1), 0, Carry) to ADC(X, X, Carry) (#219512)
During DAG optimization, expressions like `a + a` are canonicalized to
`a << 1` (`ISD::SHL X, 1`).
We need to undo that if we can use adc x, x.
[InstCombine] Avoid creating redundant and in foldSelectICmpAndBinOp (#219676)
when the created shl shifts out all but one bit the and with one is not needed.
proof: https://alive2.llvm.org/ce/z/MQYp6f
whereis(1): Respect PORTSDIR variable
PORTSDIR is a very common variable that points to the location of a ports
directory. Make whereis(1) respect this variable too.
Reviewed by: arrowd@, christos@
Approved by: christos@
Differential Revision: https://reviews.freebsd.org/D56845