diff -urN win.org/patches/cairo-1.10.2/04-tm-nofortify.patch win.nofortify/patches/cairo-1.10.2/04-tm-nofortify.patch
--- win.org/patches/cairo-1.10.2/04-tm-nofortify.patch	1970-01-01 01:00:00.000000000 +0100
+++ win.nofortify/patches/cairo-1.10.2/04-tm-nofortify.patch	2021-03-02 13:48:54.926705792 +0100
@@ -0,0 +1,20 @@
+#! /bin/sh
+patch -p1 -l -f $* < $0
+exit $?
+
+# Mingw doesnt provide fortified functions (memmove_chk, memcopy_chk)
+# When defining _FORTIFY_SOURCE to a value greater than 0,
+# these functions have to be provided by libssp (-fstack-protector or -lssp)
+
+diff -ur cairo-1.10.2-org/build/configure.ac.warnings cairo-1.10.2/build/configure.ac.warnings
+--- cairo-1.10.2-org/build/configure.ac.warnings	2010-12-25 15:21:33.000000000 +0100
++++ cairo-1.10.2/build/configure.ac.warnings	2021-03-02 13:45:49.950952181 +0100
+@@ -30,7 +30,7 @@
+ MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common -flto"
+ 
+ dnl Also to turn various gcc/glibc-specific preprocessor checks
+-MAYBE_WARN="$MAYBE_WARN -Wp,-D_FORTIFY_SOURCE=2"
++MAYBE_WARN="$MAYBE_WARN -Wp"
+ 
+ # invalidate cached value if MAYBE_WARN has changed
+ if test "x$cairo_cv_warn_maybe" != "x$MAYBE_WARN"; then
diff -urN win.org/patches/webkitgtk-2.4.11/07-tm-nofortify.patch win.nofortify/patches/webkitgtk-2.4.11/07-tm-nofortify.patch
--- win.org/patches/webkitgtk-2.4.11/07-tm-nofortify.patch	1970-01-01 01:00:00.000000000 +0100
+++ win.nofortify/patches/webkitgtk-2.4.11/07-tm-nofortify.patch	2021-03-05 09:59:53.816346232 +0100
@@ -0,0 +1,25 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+# Mingw doesnt provide fortified functions (memmove_chk, memcopy_chk)
+# When defining _FORTIFY_SOURCE to a value greater than 0,
+# these functions have to be provided by libssp (-fstack-protector or -lssp)
+
+diff -urN webkitgtk-2.4.11.org/configure webkitgtk-2.4.11/configure
+--- webkitgtk-2.4.11.org/configure	2016-04-10 11:00:06.000000000 +0200
++++ webkitgtk-2.4.11/configure	2021-03-02 14:01:08.822008763 +0100
+@@ -22642,13 +22642,6 @@
+ if test "$enable_optimizations" = "yes"; then
+     CXXFLAGS="$CXXFLAGS -O2"
+     CFLAGS="$CFLAGS -O2"
+-
+-    if test "$c_compiler" = "gcc"; then
+-        CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+-    fi
+-    if test "$cxx_compiler" = "g++"; then
+-        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
+-    fi
+ else
+     CXXFLAGS="$CXXFLAGS -O0"
+     CFLAGS="$CFLAGS -O0"
