0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-11 08:09:20 +00:00
openwrt/tools/fakeroot/patches/300-time64-hack.patch
Shiji Yang 603a3c6955 tools: fakeroot: update to 1.36
The type 'id_t' check has been moved to configure.ac in upstream commit:
819063eb4d27 ("test for id_t with autoconf instead of blind typedef, fixes FTBFS on FreeBSD")

changelog:
e4780b1aad/debian/changelog

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16530
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-09-28 10:27:41 +02:00

12 lines
340 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -390,7 +390,7 @@ dnl Digital Unix: stat
time64_hack=no
AH_TEMPLATE([TIME64_HACK], [time64 shuffle])
AC_MSG_CHECKING([if we need to cope with time64])
-AC_EGREP_CPP([time64],[
+AC_EGREP_CPP([_*[a-z0-9]+_time64[^_]],[
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#define __USE_TIME_BITS64 1