powerpc/powernv: keep OPAL async messages within one page
opal_wait_completion() gives firmware the physical address of the
caller's buffer, and firmware copies the whole message there. The
callers keep the buffer on the stack, and the pages of a kernel stack
aren't physically contiguous, so a message that crosses a page boundary
ends up partly in some unrelated page.
Use a local buffer that can't cross a page and copy it to the caller.
Reported by: llm-postcr
Approved by: jhibbits (blanket)
MFC after: 1 week
misc/mbuffer: Update to 20261024
Changes according to the ChangeLog in the distribution tar ball:
20261024:
- build fix: dependency generation lacks CPPFLAGS
devel/py-wsgitools: Fix with Python 3.12+
cgitb was removed in Python 3.13, breaking wsgitools.middlewares;
depend on www/py-legacy-cgi there. asyncore was removed in Python
3.12; it is used only by the leaf module wsgitools/scgi/asynchronous.py
(the asyncore-based SCGI server), which nothing else imports, so drop
that module on 3.12 and later.
Also backport three fixes from upstream's tree, which has had no
release since 0.3.1:
- encode the cgitb HTML page in TracebackMiddleware, which otherwise
returns str instead of bytes on every Python 3 (b12055c53b09);
- return False from AbstractTokenGenerator.check_password() for a user
without a token instead of passing None to compare_digest(), which
raised TypeError, e.g. for a Basic auth login with an unknown user
name (370715e647f2);
- re-raise the exc_info passed to start_response() itself instead of
constructing a new exception from its class, which raised TypeError
for exceptions whose constructor takes other arguments and hid the
[10 lines not shown]
x11-toolkits/fox17: Update to 1.7.95
Bump PORTREVISION on consumers. Since this is a development version,
rebuild is required even for patch releases due to ABI incompatibility.
Drop openjpeg support. This relied on an extremely old version of
openjpeg and the "modern" openjpeg is no longer maintained. This
seems to be the last port that needed graphics/openjpeg15, so it
can go the way of the dodo. [1]
http://www.fox-toolkit.org/news.html
PR: 301259
lang/python312: fix on aarch64
'from _ctypes import Structure' fails on arm64 due to GCC_4.6.0 mismatch in _ctypes.cpython-312.so
This causes further failures in many Python packages on aarch64, particularly in scipy.
This has been a problem for at least several months.
PR: 299238
Approved by: portmgr@ (unbreak; blanket)
devel/py-wsgitools: Fix with Python 3.12+
cgitb was removed in Python 3.13, breaking wsgitools.middlewares;
depend on www/py-legacy-cgi there. asyncore was removed in Python
3.12; it is used only by the leaf module wsgitools/scgi/asynchronous.py
(the asyncore-based SCGI server), which nothing else imports, so drop
that module on 3.12 and later.
Also backport three fixes from upstream's tree, which has had no
release since 0.3.1:
- encode the cgitb HTML page in TracebackMiddleware, which otherwise
returns str instead of bytes on every Python 3 (b12055c53b09);
- return False from AbstractTokenGenerator.check_password() for a user
without a token instead of passing None to compare_digest(), which
raised TypeError, e.g. for a Basic auth login with an unknown user
name (370715e647f2);
- re-raise the exc_info passed to start_response() itself instead of
constructing a new exception from its class, which raised TypeError
for exceptions whose constructor takes other arguments and hid the
[9 lines not shown]
www/opengist: Improve port
* Adjust port Makefile to more closely follow Porters Handbook
PORTVERSION --> DISTVERSION
* Don't extract webdist archive twice by defining EXTRACT_ONLY
* Define LICENSE_FILE
* Set CGO_ENABLED to 0
* Remove GO_ENV, builds fine without
* Use GO_LDFLAGS
* Adjust post-extract to better utilize the framework and only
extract when needed
* Remove limitation to aarch64 and amd64, i386 builds fine and
likely other archs too
* Bump PORTREVISION
PR: 301014
Reported by: Daniel Engberg <diizzy at FreeBSD.org>
(cherry picked from commit d9f508aad31b3dfabe272cb71dfdffa5198040d5)
devel/py-pyface: Migrate to Qt6
- use PySide6 as the Qt6 binding [1]
- add tests: 1330 pass with Xvfb, two modules skipped because they hang
PR: 301408
Reported by: makc [1]
MFH: 2026Q4