commit 9a80dc31422cdc55e088b86f751ec8ed7ff23cc5 Author: Jacob Welsh AuthorDate: Fri Nov 18 04:36:46 2022 +0000 Commit: Jacob Welsh CommitDate: Fri Nov 18 04:36:46 2022 +0000 Type: fix for new bug src: 'make clean' needed to descend deeper for .o files Editor's comment: not sure what's up with the getrandom stub; it looks like a temporary hack for a build error on a test system, which perhaps wasn't noticed earlier due to 'make clean' failing to cause a fully fresh build. In any case, it's redone in the following patches so it's not the entropy-faking disaster that it appears to be! diff --git a/src/Makefile b/src/Makefile index f8a8704732..c96e71b465 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2022,4 +2022,4 @@ install: all for LANG in da de en es fi fr it nl no pt ro ru sv tr; do install -m 644 lib-fts/stopwords/stopwords_$$LANG.txt $(DESTDIR)$(pkgdatadir)/stopwords/; done clean: - $(RM) libdovecot.a $(ALL_PROGS) */*.o config/all-settings.c lib-fts/word-boundary-data.c lib-fts/word-break-data.c lib/unicodemap.c lib/event-filter-lexer.c lib/event-filter-parser.c lib/event-filter-parser.h + $(RM) libdovecot.a $(ALL_PROGS) */*.o */*/*.o */*/*/*.o config/all-settings.c lib-fts/word-boundary-data.c lib-fts/word-break-data.c lib/unicodemap.c lib/event-filter-lexer.c lib/event-filter-parser.c lib/event-filter-parser.h diff --git a/src/lib/randgen.c b/src/lib/randgen.c index 2133b3d040..104bb66be8 100644 --- a/src/lib/randgen.c +++ b/src/lib/randgen.c @@ -41,7 +41,11 @@ int rand_get_last_seed(unsigned int *seed_r) } #endif -#include +ssize_t getrandom(void *, size_t, unsigned); + +ssize_t getrandom(void * a, size_t b, unsigned c) { + return 0; +} static int init_refcount = 0;