From: Theo Buehler Subject: twmn: fix build with boost 1.89 To: ports@openbsd.org Cc: sdk@openbsd.org Date: Tue, 20 Jan 2026 07:27:46 +0100 boost_system only contains a dummy_exported_function for backward compatibility. This library stub was removed in Boost 1.89, so do not forcibly link against it. Upstream fixed this in a slightly larger commit that also removed use of some deprecated Qt classes, so the better fix would be to update to 2025_10_23, which I leave to the maintainer to handle. Index: Makefile =================================================================== RCS file: /cvs/ports/x11/twmn/Makefile,v diff -u -p -r1.2 Makefile --- Makefile 18 Nov 2024 14:47:41 -0000 1.2 +++ Makefile 20 Jan 2026 06:16:42 -0000 @@ -4,7 +4,7 @@ V = 1.2pl20220125 GH_ACCOUNT = sboli GH_PROJECT = twmn GH_COMMIT = 58ca77dde5a007ef0edb7c6e2312310adaf68c7d -REVISION = 0 +REVISION = 1 DISTNAME = ${GH_PROJECT}-${V} @@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes MODULES = devel/qmake x11/qt5 WANTLIB += ${COMPILER_LIBCXX} GL c m GL Qt5DBus Qt5Core Qt5Gui -WANTLIB += Qt5Network Qt5Widgets boost_program_options boost_system +WANTLIB += Qt5Network Qt5Widgets boost_program_options LIB_DEPENDS = devel/boost Index: patches/patch-twmnc_twmnc_pro =================================================================== RCS file: patches/patch-twmnc_twmnc_pro diff -N patches/patch-twmnc_twmnc_pro --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-twmnc_twmnc_pro 20 Jan 2026 06:22:48 -0000 @@ -0,0 +1,14 @@ +Fix build with Boost 1.89 + +Index: twmnc/twmnc.pro +--- twmnc/twmnc.pro.orig ++++ twmnc/twmnc.pro +@@ -8,7 +8,7 @@ TARGET = twmnc + DEPENDPATH += . + INCLUDEPATH += . + DESTDIR = ../bin/ +-LIBS += -lboost_program_options -lboost_system -lpthread ++LIBS += -lboost_program_options -lpthread + target.path += /usr/local/bin + INSTALLS += target + # Input