---- cairo-1.12.0/util/cairo-missing/cairo-missing.h.orig 2012-02-02 01:48:15.000000000 +0100
-+++ cairo-1.12.0/util/cairo-missing/cairo-missing.h 2012-03-25 12:56:29.970335651 +0200
-@@ -37,7 +37,7 @@
- #include <string.h>
- #include <sys/types.h>
-
--#ifdef _WIN32
-+#if defined(_WIN32) && !defined(__MINGW32__)
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
-
---- cairo-1.14.0/build/aclocal.float.m4.orig 2014-10-14 03:46:33.000000000 +0200
-+++ cairo-1.14.0/build/aclocal.float.m4 2014-10-15 18:52:32.272398963 +0200
-@@ -31,10 +31,10 @@
-
- ]])], [
-
--if strings - conftest | grep noonsees >/dev/null ; then
-+if strings - conftest$ac_exeext | grep noonsees >/dev/null ; then
- ax_cv_c_float_words_bigendian=yes
- fi
--if strings - conftest | grep seesnoon >/dev/null ; then
-+if strings - conftest$ac_exeext | grep seesnoon >/dev/null ; then
- if test "$ax_cv_c_float_words_bigendian" = unknown; then
- ax_cv_c_float_words_bigendian=no
- else
+--- cairo-1.18.0/src/cairo-compiler-private.h.orig 2023-09-25 17:24:13.379273100 +0200
++++ cairo-1.18.0/src/cairo-compiler-private.h 2023-09-25 17:24:48.662415288 +0200
+@@ -149,7 +149,7 @@
+ #define __attribute__(x)
+ #endif
+
+-#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
++#if (defined(__WIN32__) && !defined(__WINE__) && !defined(__MINGW32__)) || defined(_MSC_VER)
+ #define access _access
+ #ifndef R_OK
+ #define R_OK 4