graphics/drm-latest-kmod: apply 2b49118158d0aa7cb to port
This unbreaks the package build with clang 21+.
MFH: 2026Q1
Approved by: emaste (maintainer)
Reviewed by: emaste, dim
Differential Revision: https://reviews.freebsd.org/D54993
databases/mysql80-server: fix build with libc++ 20 and higher
With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:
In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
/wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
| ^
/usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
1167 | [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
| ^
This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.
[8 lines not shown]
databases/mysql80-server: fix build with libc++ 20 and higher
With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:
In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
/wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
| ^
/usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
1167 | [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
| ^
This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.
[6 lines not shown]
sysutils/auto-admin: Update to 0.8.4.14
auto-cups-setup: Tolerate missing drivers (prep for deprecation)
auto-install-base-components: Check for pkgbase
auto-ly-enable: New script to enable ly login manager
auto-pkg-latest:
Fix missing _${VERSION_MINOR} in kmods repo config
Offer to overwrite config file when already using latest
auto-update-system: Include /etc/pkg in repo checks
auto-dreckly-setup: Fix pkgsrc wip URL
emulators/virtualbox-ose-additions-7{0,1,2}: Fix build on i386
Runtime not tested.
MFH: 2026Q1
(cherry picked from commit 12565872e6eaa72401c485f4b2f25556ac9eb646)
math/vtk9: fix build with libc++ 21
With libc++ 21, math/vtk9 fails to compile, resulting in errors similar
to:
In file included from /wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/src/os.cc:14:
In file included from /wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/os.h:11:
/wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:747:28: error: use of undeclared identifier 'malloc'
747 | T* p = static_cast<T*>(malloc(n * sizeof(T)));
| ^~~~~~
/wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:752:35: error: use of undeclared identifier 'free'
752 | void deallocate(T* p, size_t) { free(p); }
| ^~~~
This is because malloc and free are defined in <cstdlib>, which is not
included in vtk's format.h. Add the include to fix the build.
PR: 292590
Approved by: yuri (maintainer)
[3 lines not shown]
misc/py-pytorch: fix build with clang >= 19 and libc++ 21
In ports f07b5ade5369 misc/py-pytorch was forced onto llvm:max=15, with
the reason "fix build on 14". Remove this, and add a patch to make it
build with clang >= 19 and libc++ 21.
PR: 292664
Approved by: yuri (maintainer)
MFH: 2026Q1
(cherry picked from commit 3bd3c194d694c34c2b6a8e0ee93b78e2f1a65a9f)
math/vtk9: fix build with libc++ 21
With libc++ 21, math/vtk9 fails to compile, resulting in errors similar
to:
In file included from /wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/src/os.cc:14:
In file included from /wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/os.h:11:
/wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:747:28: error: use of undeclared identifier 'malloc'
747 | T* p = static_cast<T*>(malloc(n * sizeof(T)));
| ^~~~~~
/wrkdirs/usr/ports/math/vtk9/work/VTK-9.5.2/ThirdParty/fmt/vtkfmt/vtkfmt/format.h:752:35: error: use of undeclared identifier 'free'
752 | void deallocate(T* p, size_t) { free(p); }
| ^~~~
This is because malloc and free are defined in <cstdlib>, which is not
included in vtk's format.h. Add the include to fix the build.
PR: 292590
Approved by: yuri (maintainer)
MFH: 2026Q1
misc/py-pytorch: fix build with clang >= 19 and libc++ 21
In ports f07b5ade5369 misc/py-pytorch was forced onto llvm:max=15, with
the reason "fix build on 14". Remove this, and add a patch to make it
build with clang >= 19 and libc++ 21.
PR: 292664
Approved by: yuri (maintainer)
MFH: 2026Q1
comms/xastir: reset maintainership
- Somehow this got missed 10 years ago :-(
From SRS0+5203f6e19c1a21a6=EU=stagecraft.cx=carl at mx25.net Tue Apr 7 00:15:53 2015
...
Return-Path: <SRS0+5203f6e19c1a21a6=EU=stagecraft.cx=carl at mx25.net>
(envelope-from carl at stagecraft.cx)
X-Authentication-Warning: brain.stagecraft.cx: www set sender to carl at stagecraft.cx using -f
To: portmgr at freebsd.org
...
Date: Tue, 07 Apr 2015 14:09:14 +1000
From: Carl <carl at stagecraft.cx>
Cc: Diane Bruce <db at db.net>
Message-ID: <e207d0c19a3a7eec852b568412df4a28 at www.stagecraft.cx>
X-Sender: carl at stagecraft.cx
...
Hi,
[13 lines not shown]