From 373d8e3dcb62f76a5c2b3608251529c608b98b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Sat, 25 Jun 2022 23:04:28 +0200 Subject: Move to Linux 5.15.49 + Alpine 3.16.0. --- ...oid-redefined-warnings-when-building-with-utmps.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch (limited to 'aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch') diff --git a/aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch b/aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch new file mode 100644 index 0000000..246e9b0 --- /dev/null +++ b/aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch @@ -0,0 +1,16 @@ +From: Jakub Jirutka +Date: Mon, 06 Sep 2021 23:13:05 +0200 +Subject: [PATCH] Avoid redefined warnings when building with utmps + +--- a/include/libbb.h ++++ b/include/libbb.h +@@ -107,6 +107,9 @@ + # define _PATH_UTMPX _PATH_UTMP + # else + # if !defined(__FreeBSD__) ++/* _PATH_UTMP and _PATH_WTMP are defined both in paths.h and utmps/utmp.h. */ ++# undef _PATH_UTMP ++# undef _PATH_WTMP + # include + # else + # define _PATH_UTMPX "/var/run/utx.active" -- cgit v1.2.3