On three of four of my 5.4's, after applying 004_nginx.patch, rebuilding and reinstalling nginx went fine.
On one of them it is failing with the following message: objs/src/http/modules/ngx_http_ssl_module.o(.text+0xb36): In function `ngx_http_ssl_merge_srv_conf': src/http/modules/ngx_http_ssl_module.c:627: undefined reference to `ngx_ssl_stapling' objs/src/http/modules/ngx_http_ssl_module.o(.text +0xcb8): In function `ngx_http_ssl_init': src/http/modules/ngx_http_ssl_module.c:794: undefined reference to `ngx_ssl_stapling_resolver' collect2: ld returned 1 exit status *** Error 1 in obj (objs/Makefile:348 'objs/nginx') *** Error 1 in obj (Makefile:8 'build') *** Error 1 in /usr/src/usr.sbin/nginx (Makefile.bsd-wrapper:38 'all') This is 5.4-RELEASE, patched with erratta patches 001, 002 and 003: # uname -a OpenBSD nat1.kappastar.com 5.4 GENERIC#1 i386 Any help? -- Marko Cupać