Created attachment 244508 [details] patch file Bumping the devel/libfmt from 9.1.0 to 10.1.1
I've already tested libfmt update since 10.0.0 but some of the dependent ports do not build with it. Therefore, libfmt 10.* will not land the ports tree unless they are fixed.
FYI, last time I tested libfmt 10.0.0, 19 ports are broken and I only fixed 3 of them. Fixed: games/0ad games/easyrpg-player textproc/fcitx5 Not yet fixed: cad/openroad devel/malloy editors/turbo emulators/dolphin-emu emulators/pcsx2 ftp/coeurl games/0ad games/devilutionX games/easyrpg-player multimedia/kodi net/arataga net/ceph14 net/gerbera net/knxd science/cantera x11/waybar
Created attachment 245236 [details] libfmt.diff Hi Po-Chuan, what do you think about to add support of building static library to the port? It can be useful for fast application, like foundationdb, etc. A proposed patch adds fmt_static target for CMakeLists.txt and libfmt.a to pkg-plist.
Hi Boris, Please submit it upstream as we preferably don't want to carry patches locally unless really needed. For what I can tell foundationdb is also currently broken and don't depend on (lib)fmt? Best regards, Daniel
(In reply to Daniel Engberg from comment #4) Hi Daniel, unfortunately the libfmt upstream doesn't allow to build static and shared libs simultaneously ( https://github.com/fmtlib/fmt/issues/600 ). What about foundationdb... The patch for fixing BROKEN is waiting for commit about half a year ( bug #269236 ). Foundationdb is depends on libfmt ( https://github.com/apple/foundationdb/blob/59e1470263ce37a02174891257f193a87b304926/contrib/CMakeLists.txt#L4-L7 ). And all foundationdb depends are linking statically usually. At last, I work on porting foundationdb 7.3 for FreeBSD currently.
sunpoet, All open PRs are well over 2w, push this update and mark ports with unresolved PRs as broken.
Updated to 10.1.1 in ports ec5f6e22611156724fe5844ed3783b68e0d404f3. emulators/dolphin-emu is fixed in ports 558f7ba7e2b816c6f09ff5f0905b2bb933a1d60a. net-im/nheko is fixed in ports c2e5d6a560286cd550bc5a07f3ca14728d7ffced. cad/openroad, games/devilutionX and science/vipster are marked as BROKEN. Thanks.