Here is quick fix for pekwm with new clang. Builds and workspace changing seem to work on amd64.
Timo Index: Makefile =================================================================== RCS file: /cvs/ports/x11/pekwm/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- Makefile 20 Dec 2017 17:22:37 -0000 1.34 +++ Makefile 7 Apr 2018 21:20:31 -0000 @@ -3,7 +3,7 @@ COMMENT= aewm++ based pretty themable window manager DISTNAME= pekwm-0.1.17 -REVISION= 3 +REVISION= 4 CATEGORIES= x11 HOMEPAGE= https://www.pekwm.org/ Index: patches/patch-src_ActionHandler_cc =================================================================== RCS file: patches/patch-src_ActionHandler_cc diff -N patches/patch-src_ActionHandler_cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_ActionHandler_cc 7 Apr 2018 21:20:31 -0000 @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/ActionHandler.cc +--- src/ActionHandler.cc.orig ++++ src/ActionHandler.cc +@@ -582,7 +582,7 @@ ActionHandler::actionSendToWorkspace(PDecor *decor, in + row_min = Workspaces::getRowMin(), + row_max = Workspaces::getRowMax(); + +- switch (direction) { ++ switch ((unsigned int)direction) { + case WORKSPACE_LEFT: + case WORKSPACE_PREV: + if (cur_act > row_min) {