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:
parent
dc0fd8219c
commit
a51ca62215
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
|
||||
};
|
||||
|
||||
patches = [ ./gcc-0.8.patch ];
|
||||
|
||||
buildInputs = [ glib libgsf libxml2 ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig bzip2 ];
|
||||
|
|
13
pkgs/development/libraries/libwpd/gcc-0.8.patch
Normal file
13
pkgs/development/libraries/libwpd/gcc-0.8.patch
Normal 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:
|
Loading…
Reference in a new issue