uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
24
pkgs/development/libraries/libwpd/0.8.nix
Normal file
24
pkgs/development/libraries/libwpd/0.8.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, glib, libgsf, libxml2, bzip2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libwpd";
|
||||
version = "0.8.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.gz";
|
||||
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
|
||||
};
|
||||
|
||||
patches = [ ./gcc-0.8.patch ];
|
||||
|
||||
buildInputs = [ glib libgsf libxml2 ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config bzip2 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for importing WordPerfect documents";
|
||||
homepage = "http://libwpd.sourceforge.net";
|
||||
license = with licenses; [ lgpl21 mpl20 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
22
pkgs/development/libraries/libwpd/default.nix
Normal file
22
pkgs/development/libraries/libwpd/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libwpd";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.xz";
|
||||
sha256 = "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx";
|
||||
};
|
||||
|
||||
buildInputs = [ glib libgsf libxml2 zlib librevenge ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for importing and exporting WordPerfect documents";
|
||||
homepage = "http://libwpd.sourceforge.net/";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
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…
Add table
Add a link
Reference in a new issue