Blob Blame History Raw
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 */