emulators/qemu-user-static: update to f7fd10d7677c
This features a number of fixes; highlights:
- Handle aarch64 YIELD instructions
- Bump ARG_MAX to match the FreeBSD default on LP64 platforms
- Implement __specialfd(2) and copy_file_range(2)
- Style fixes
- Fix an issue with binary execution[0]
- Fix page fault handling for self-modifying binaries[1]
- Suppress noise from CIOGSESSION usage and restore CRIOGET handling
- Patch _umtx_op(2) through to the kernel where possible[2]
[0] Attempting to execute a binary by name was broken when there was an
unrelated entry by the same name in PWD. The report below observed it in the
cluster while building games/dobutsu, which tried to execute `xz` in a directory
that had an `xz` directory inside of it.
[1] From the fixing commit, qemu mprotect()s pages contained translated code
to PROT_READ | PROT_EXEC and upgrades protections as needed upon page fault.
This was broken in a previous commit that misidentified by the trap # that
should have been observed. The observed issue a broken JIT compiler in
libpcre.
[2] _umtx_op can now be handled by the kernel in cases where the target long
size is not longer than the host, and the target and host are the same
endianness. This is much more reliable than our previous emulation of these
operations, and should reduce hangs sometimes observed in threaded applications.
Note that this requires a recent stable/12 or 13.x/-CURRENT.
PR: 253375 [0]
PR: 253335 [1]
finance/quickfix: fix build on non-x86
Code uses x86 assembly, but makes it possible to use Boost atomic.
multimedia/zoneminder: enable on powerpc64
net/mpich: fix build on powerpc64
Neither __BYTE_ORDER nor __BIG_ENDIAN are defined:
In file included from src/mpi/datatype/typerep/dataloop/looputil.c:10:
./src/mpi/datatype/typerep/dataloop/looputil.h:57:2: error: This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
#error This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
editors/libreoffice: fix build on powerpc64 elfv2
This set of patches is applied only on powerpc* architectures.
Submitted by: afsilva
Approved by: tier 2 blanket
security/openconnect-gui: fix checksum
emulators/riscv-isa-sim: enable on powerpc64
sysutils/linuxfdisk: enable on powerpc64
graphics/openfx-arena: enable on powerpc64
multimedia/arcan: enable LUAJIT on powerpc64
It builds fine with luajit-openresty.
games/libretro-desmume2015: fix build on non-x86 / ARM
JIT is only for x86 and ARM.
astro/opencpn: fix build on powerpc64*
Use GCC unconditionally on powerpc64*:
In file included from /usr/lib/clang/11.0.1/include/xmmintrin.h:13:
/usr/lib/clang/11.0.1/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
__builtin_ia32_emms();
editors/libreoffice6: backport powerpc* patches to libreoffice6
Approved by: tier 2 blanket
devel/newt: does not register shared libs
pkg info -b newt does not show any shared libraries despite the port installing
one.
The framework uses the output of readelf -d to know if the library has a SONAME
and this ports does not add a SONAME if it does not detect the GNU linker. Then,
the resulting package does not register any shared libraries.
* Patch configure.ac to learn and detect LLVM linker so it adds the SONAME to
the library.
* Add USE_LDCONFIG (portlint wrongly complains about not installing shared libs)
PR: 253712
Submitted by: masamory7@gmail.com
Update to r85c9d788f8 from the FreeBSD docset.
Approved by: doceng (implicit)
Update to 0cff342f42461c5081b98bce7581f43df319e4f4 version from the
FreeBSD docset (a.k.a. 13.0-R version)
Approved by: doceng (implicit)
Approved by: portmgr (blanket)
net/aquantia-atlantic-kmod: Fix build on CURRENT
This patch enables the port to build a working if_atlantic.ko on
13-CURRENT, broken since r353868 (Git commit 19e09f447fd9), where
the `if_multi_apply` and `if_multiaddr_count` KPIs were removed.
PR: 252642
Submitted by: Michael Chiu <nyan-at-myuji.xyz>
Approved by: koobs (maintainer)
Differential_Revision: https://reviews.freebsd.org/D28135
ports-mgmt/pkg: Update to 1.16.2
Changes from 1.16.1 to 1.16.2
- libpkg: add a snap(shot) version prefix
- libpkg: only upgrade installed packages with pattern matches
- Document pkg-lock(8) accepts a list of packages
Approved by: bapt (implicit)
ports-mgmt/pkg: Update to 1.16.3
- lua: filecmp: Fix for symlink
PR: 253292, 250439
Approved by: bapt (implicit)
textproc/libebml: update to 1.4.3
Changelog:
* Fixed several heap overflow bugs in the `ReadData` functions of
various data type classes. This fixes CVE-2021-3405.
Security: CVE-2021-3405
lang/retro12: Update to 2021.2
ChangeLog:
* fixes a bug causing address stack corruption in some circumstances
* improved handling of pipes
* added `abort`
* add support for user defined block delimiters
PR: 253610
Submitted by: crc@forthworks.com