summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/fontconfig-2.14.1.local.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/fontconfig-2.14.1.local.patch b/patches/fontconfig-2.14.1.local.patch
new file mode 100644
index 00000000..01ff6c07
--- /dev/null
+++ b/patches/fontconfig-2.14.1.local.patch
@@ -0,0 +1,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 */