diff --git a/srcpkgs/libwpd/patches/fix-compat-gcc12.patch b/srcpkgs/libwpd/patches/fix-compat-gcc12.patch new file mode 100644 index 00000000000..6ebce2463d1 --- /dev/null +++ b/srcpkgs/libwpd/patches/fix-compat-gcc12.patch @@ -0,0 +1,11 @@ +diff -rup libwpd-0.10.3.orig/src/lib/WPXTable.h libwpd-0.10.3/src/lib/WPXTable.h +--- libwpd-0.10.3.orig/src/lib/WPXTable.h 2022-08-23 22:32:45.332593795 -0700 ++++ libwpd-0.10.3/src/lib/WPXTable.h 2022-08-23 22:32:59.500651211 -0700 +@@ -37,6 +37,7 @@ + #define _WPXTABLE_H + + #include ++#include + + struct WPXTableCell + {