Files
ports/sysutils/busybox/files/patch-include_libbb.h
Oleksii Samorukov d8ef181ea1 sysutils/busybox: Update to 1.32.1
- Update to 1.32.1 and adopt patches to the upstream changes
- Enable more applets

Approved by:	krion
Differential Revision:	https://reviews.freebsd.org/D27934
2021-01-04 16:16:52 +00:00

15 lines
368 B
C

--- include/libbb.h.orig 2021-01-04 13:16:47 UTC
+++ include/libbb.h
@@ -106,7 +106,11 @@
# define updwtmpx updwtmp
# define _PATH_UTMPX _PATH_UTMP
# else
+#ifndef __FreeBSD__
# include <utmp.h>
+#else
+#define _PATH_UTMPX "/var/run/utx.active"
+#endif
# include <utmpx.h>
# if defined _PATH_UTMP && !defined _PATH_UTMPX
# define _PATH_UTMPX _PATH_UTMP