summaryrefslogtreecommitdiffhomepage
path: root/patches/fontconfig-2.14.1.local.patch
blob: 01ff6c07b37686aefe1fcf23c06cb3698890e267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ru fontconfig-2.14.1.orig/src/fcstat.c fontconfig-2.14.1/src/fcstat.c
--- fontconfig-2.14.1.orig/src/fcstat.c	2021-07-08 07:47:01.000000000 +0200
+++ fontconfig-2.14.1/src/fcstat.c	2023-01-18 13:38:16.297077648 +0100
@@ -373,7 +373,7 @@
 	p = buf.f_fstypename;
 #  endif
     }
-#elif defined(HAVE_FSTATFS) && (defined(HAVE_STRUCT_STATFS_F_FLAGS) || defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__linux__))
+#elif defined(HAVE_FSTATFS) && (defined(HAVE_STRUCT_STATFS_F_FLAGS) || defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__linux__) || defined(__midipix__))
     struct statfs buf;
 
     memset (statb, 0, sizeof (FcStatFS));
@@ -386,7 +386,7 @@
 #  endif
 #  if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
 	p = buf.f_fstypename;
-#  elif defined(__linux__) || defined (__EMSCRIPTEN__)
+#  elif defined(__linux__) || defined(__midipix__) || defined (__EMSCRIPTEN__)
 	switch (buf.f_type)
 	{
 	case 0x6969: /* nfs */