~ruther/guix-local

ref: 56daf847a067b806f4e333c8849b387ea30df6e3 guix-local/gnu/packages/patches/libwpd-gcc-compat.patch -rw-r--r-- 481 bytes
56daf847 — Christopher Baines gnu: nar-herder: Update to 0-44.3794b25. 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix build with newer GCC.

Taken from upstream:

  https://sourceforge.net/p/libwpd/code/ci/333c8a26f231bea26ec3d56245315041bbf5577f/

--- 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];
 	}