[Bug 263750] random_fortuna: standalone module build broken in stable/12
Date: Tue, 03 May 2022 09:12:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263750 --- Comment #2 from Eugene Grosbein <eugen@freebsd.org> --- It seems the following trivial patch should be enough to fix this. --- sys/modules/random_fortuna/Makefile.orig 2022-05-03 16:11:02.665565000 +0700 +++ sys/modules/random_fortuna/Makefile 2022-05-03 16:10:55.497517000 +0700 @@ -6,6 +6,6 @@ SRCS = randomdev.c hash.c fortuna.c SRCS += opt_param.h bus_if.h device_if.h SRCS += opt_ddb.h -CFLAGS += -DRANDOM_LOADABLE +CFLAGS += -DDEV_RANDOM -DRANDOM_LOADABLE .include <bsd.kmod.mk> --- sys/modules/random_other/Makefile.orig 2022-05-03 16:09:34.601209000 +0700 +++ sys/modules/random_other/Makefile 2022-05-03 16:08:59.489104000 +0700 @@ -6,6 +6,6 @@ SRCS = randomdev.c hash.c other_algorithm.c SRCS += opt_param.h bus_if.h device_if.h SRCS += opt_ddb.h -CFLAGS += -DRANDOM_LOADABLE +CFLAGS += -DDEV_RANDOM -DRANDOM_LOADABLE .include <bsd.kmod.mk> -- You are receiving this mail because: You are the assignee for the bug.