summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar/tar/musl_dirent.patch
blob: b0dc16c3dde0920f4953f49dc3f17498bd2c49fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
musl has valid d_ino implementation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending

Index: tar-1.28/m4/d-ino.m4
===================================================================
--- tar-1.28.orig/m4/d-ino.m4
+++ tar-1.28/m4/d-ino.m4
@@ -40,7 +40,8 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_
            [gl_cv_struct_dirent_d_ino=no],
            [case "$host_os" in
                            # Guess yes on glibc systems with Linux kernel.
-              linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+              linux*-gnu*|linux*-musl*)
+                           gl_cv_struct_dirent_d_ino="guessing yes" ;;
                            # If we don't know, assume the worst.
               *)           gl_cv_struct_dirent_d_ino="guessing no" ;;
             esac