Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2022 09:12:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263750] random_fortuna: standalone module build broken in stable/12
Message-ID:  <bug-263750-227-AWIlgYG8mq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263750-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263750-227-AWIlgYG8mq>