diff --git a/srcpkgs/inspectrum/patches/QPainterPath.patch b/srcpkgs/inspectrum/patches/QPainterPath.patch
new file mode 100644
index 00000000000..cd70cbab4b7
--- /dev/null
+++ b/srcpkgs/inspectrum/patches/QPainterPath.patch
@@ -0,0 +1,10 @@
+--- traceplot.cpp 2018-06-03 12:12:59.000000000 +0200
++++ traceplot.cpp 2020-09-01 14:49:36.422074448 +0200
+@@ -17,6 +17,7 @@
+ * along with this program. If not, see .
+ */
+
++#include
+ #include
+ #include
+ #include