diff --git a/libmspub-0.1.4-gcc-11.1.0.patch b/libmspub-0.1.4-gcc-11.1.0.patch new file mode 100644 index 0000000..e1e8944 --- /dev/null +++ b/libmspub-0.1.4-gcc-11.1.0.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h +index 9167f4f..27bdd4f 100644 +--- a/src/lib/MSPUBMetaData.h ++++ b/src/lib/MSPUBMetaData.h +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #include + diff --git a/libmspub.spec b/libmspub.spec index a4479b6..a0995c1 100644 --- a/libmspub.spec +++ b/libmspub.spec @@ -1,7 +1,7 @@ %define apiver %(echo %version | cut -d. -f1-2) Name: libmspub Version: 0.1.4 -Release: 1mamba +Release: 2mamba Summary: A library providing ability to interpret and import Microsoft Publisher content Group: System/Libraries Vendor: openmamba @@ -9,6 +9,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.freedesktop.org/wiki/Software/libmspub Source: http://dev-www.libreoffice.org/src/libmspub-%{version}.tar.xz +Patch0: libmspub-0.1.4-gcc-11.1.0.patch License: GPL, LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -46,6 +47,7 @@ This package contains utility applications for %{name}. %prep %setup -q +%patch0 -p1 %build %configure @@ -84,6 +86,9 @@ This package contains utility applications for %{name}. %{_bindir}/pub2xhtml %changelog +* Sun Jun 13 2021 Silvan Calarco 0.1.4-2mamba +- rebuilt with gcc 11.1.0 patch + * Wed Mar 21 2018 Silvan Calarco 0.1.4-1mamba - update to 0.1.4