diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-13 18:41:00 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-13 21:45:02 +0100 |
commit | 517db018c664c25c9a4db3883ef1ec39cc3588dd (patch) | |
tree | 8c0b8b36c3224bc25895e101d6c8143d4fa7f3b7 /app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch | |
parent | profiles: arm: Cleanup obsolete entries, add bug reference (diff) | |
download | gentoo-517db018c664c25c9a4db3883ef1ec39cc3588dd.tar.gz gentoo-517db018c664c25c9a4db3883ef1ec39cc3588dd.tar.bz2 gentoo-517db018c664c25c9a4db3883ef1ec39cc3588dd.zip |
app-text/libwpd: Fix build with GCC-4.8
Closes: https://bugs.gentoo.org/674402
Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch')
-rw-r--r-- | app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch b/app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch new file mode 100644 index 000000000000..f47847c1d212 --- /dev/null +++ b/app-text/libwpd/files/libwpd-0.10.3-gcc-4.8.patch @@ -0,0 +1,16 @@ +Authored by: David Tardon David Tardon 2018-12-30 +Commit 333c8a26f231bea26ec3d56245315041bbf5577f + +fix build with gcc 4.8 + +--- a/src/lib/WPXTable.h ++++ b/src/lib/WPXTable.h +@@ -53,7 +53,7 @@ + ~WPXTable(); + void insertRow(); + void insertCell(unsigned char colSpan, unsigned char rowSpan, unsigned char borderBits); +- const WPXTableCell *getCell(size_t i, size_t j) ++ const WPXTableCell *getCell(std::size_t i, std::size_t j) + { + return &(m_tableRows[i])[j]; + } |