Files
gentoo/sys-process/anacron/files/anacron-2.3-makefile.patch
NHOrus 20bfa8a135 sys-process/anacron: Port to C23, fix musl build
Incorrect signal handler defs, missing compatibility dependency
on musl

Closes: https://bugs.gentoo.org/943949
Closes: https://bugs.gentoo.org/715952
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/248
Merges: https://codeberg.org/gentoo/gentoo/pulls/248
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-22 08:32:15 +01:00

15 lines
368 B
Diff

https://bugs.gentoo.org/715952
Need to append `-lobstack` for musl build, can't stuff it in
LDFLAGS due to `--as-needed`
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@
include $(csources:.c=.d)
anacron: $(objects)
- $(CC) $(LDFLAGS) $^ $(LOADLIBES) -o $@
+ $(CC) $(LDFLAGS) $^ $(LOADLIBES) $(LIBS) -o $@
%.o : %.c
$(CC) -c $(ALL_CPPFLAGS) $(CFLAGS) $< -o $@