mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
Instead of the primitive compat version provided by slock. While at it, also remove explicit references to "$builddir".
19 lines
699 B
Diff
19 lines
699 B
Diff
Ensure that slock uses musl's version of explicit_bzero(3), instead
|
|
of the compat version provided by slock. The compat version is as-is
|
|
insufficient to reliably zero memory correctly.
|
|
|
|
diff -upr a/config.mk b/config.mk
|
|
--- a/config.mk 2022-10-04 19:45:59.000000000 +0200
|
|
+++ b/config.mk 2024-03-30 15:32:06.061751182 +0100
|
|
@@ -25,8 +25,8 @@ COMPATSRC = explicit_bzero.c
|
|
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
|
|
# On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
|
|
#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE
|
|
-# On OpenBSD set COMPATSRC to empty
|
|
-#COMPATSRC =
|
|
+# On systems supporting explicit_bzero(3), set COMPATSRC to empty
|
|
+COMPATSRC =
|
|
|
|
# compiler and linker
|
|
CC = cc
|