diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-06-25 23:04:28 +0200 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-06-25 23:04:28 +0200 |
commit | 373d8e3dcb62f76a5c2b3608251529c608b98b1d (patch) | |
tree | 9d3c179ffd2b2fbd0aaf5b2c98deba8a241c2b46 /aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch | |
parent | 2e6c1798e14737745b36726419863180566d53de (diff) | |
download | freebsd-wifibox-alpine-373d8e3dcb62f76a5c2b3608251529c608b98b1d.zip |
Move to Linux 5.15.49 + Alpine 3.16.0.
Diffstat (limited to 'aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch')
-rw-r--r-- | aports/busybox/0001-avoid-redefined-warnings-when-building-with-utmps.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 <jakub@jirutka.cz> +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 <utmp.h> + # else + # define _PATH_UTMPX "/var/run/utx.active" |