summary refs log tree commit diff
path: root/pkgs/development/libraries/libwpd/gcc-0.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libwpd/gcc-0.8.patch')
-rw-r--r--pkgs/development/libraries/libwpd/gcc-0.8.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libwpd/gcc-0.8.patch b/pkgs/development/libraries/libwpd/gcc-0.8.patch
new file mode 100644
index 00000000000..05eb3293ed7
--- /dev/null
+++ b/pkgs/development/libraries/libwpd/gcc-0.8.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lib/WPXTable.h b/src/lib/WPXTable.h
+index 6d1e921..0234ad7 100644
+--- a/src/lib/WPXTable.h
++++ b/src/lib/WPXTable.h
+@@ -76,7 +76,7 @@ public:
+ 	WPXTableList & operator=(const WPXTableList & tableList);
+ 	virtual ~WPXTableList();
+ 
+-	WPXTable * operator[](size_t i) { return (*m_tableList)[i]; }
++	WPXTable * operator[](std::size_t i) { return (*m_tableList)[i]; }
+ 	void add(WPXTable *table) { m_tableList->push_back(table); }
+ 
+ private: