3
0
Fork 0
forked from mirrors/nixpkgs

Fixing the build of libwpd 0.8. That will help openoffice to go on building.

svn path=/nixpkgs/trunk/; revision=32871
This commit is contained in:
Lluís Batlle i Rossell 2012-03-07 22:38:42 +00:00
parent dc0fd8219c
commit a51ca62215
2 changed files with 15 additions and 0 deletions

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
};
patches = [ ./gcc-0.8.patch ];
buildInputs = [ glib libgsf libxml2 ];
buildNativeInputs = [ pkgconfig bzip2 ];

View file

@ -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: