default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
# GCC 11 fix
patch -p0 <<EOT
 diff -u ./src/qmldebug/qqmlprofilerevent_p.h{.orig,}
--- ./src/qmldebug/qqmlprofilerevent_p.h.orig	2021-08-04 16:12:35.790447494 +0200
+++ ./src/qmldebug/qqmlprofilerevent_p.h	2021-08-04 16:13:03.205449096 +0200
@@ -49,6 +49,7 @@
 
 #include <initializer_list>
 #include <type_traits>
+#include <limits>
 
 //
 //  W A R N I N G
EOT
