--- openbsd-master/sbin/.patch 1970-01-01 01:00:00 +0100 +++ openbsd-master/sbin/.patch 2025-09-12 11:34:13 +0200 @@ -0,0 +1 @@ +This directory has been patched. --- openbsd-master/sbin/ifconfig/brconfig.c +++ openbsd-master/sbin/ifconfig/brconfig.c Thu Oct 16 11:10:29 2025 @@ -953,7 +953,7 @@ void bridge_badrule(int argc, char *argv[], int ln) { - extern const char *__progname; + extern char *__progname; int i; fprintf(stderr, "%s: invalid rule: ", __progname); --- openbsd-master/sbin/kbd/Makefile +++ openbsd-master/sbin/kbd/Makefile Mon Nov 21 07:39:42 2022 @@ -12,6 +12,7 @@ SRCS= main.c kbd_wscons.c LDADD= -lkvm DPADD= ${LIBKVM} +CFLAGS+=-I../../sys -DNOKVM .else NOPROG= Yes --- openbsd-master/sbin/Makefile.inc +++ openbsd-master/sbin/Makefile.inc Thu Oct 16 11:19:01 2025 @@ -1,4 +1,5 @@ # $OpenBSD: src/sbin/Makefile.inc,v 1.4 1997/09/21 11:36:00 deraadt Exp $ BINDIR?= /sbin -LDSTATIC= ${STATIC} +#LDSTATIC= ${STATIC} +CPPFLAGS+= -I../../sys --- openbsd-master/sbin/mount/Makefile +++ openbsd-master/sbin/mount/Makefile Thu Oct 16 16:30:56 2025 @@ -7,4 +7,7 @@ MAN= mount.8 # We do NOT install the getmntopts.3 man page. +# prevent crash during boot +CFLAGS+= -Dfork=vfork + .include