gamin: glib-2.30.0 FTBFS

Cherry-pick ^/nixpkgs/branches/glib-2.30@31417

svn path=/nixpkgs/branches/glib-2.30-take2/; revision=32943
This commit is contained in:
Yury G. Kudryashov 2012-03-09 07:13:03 +00:00
parent 7331031c0c
commit 1f84acc113
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,10 @@
# Generated by debian-patches.sh from debian-patches.txt
let
prefix = "http://patch-tracker.debian.org/patch/series/dl/gamin/0.1.10-4";
in
[
{
url = "${prefix}/17_deprecated_const_return.patch";
sha256 = "0bssrqcmyivlpk2g0q71d1yavd4wv1lw34l8qipm0ndljjd6rbrk";
}
]

View File

@ -0,0 +1,2 @@
gamin/0.1.10-4
17_deprecated_const_return.patch

View File

@ -8,9 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "18cr51y5qacvs2fc2p1bqv32rs8bzgs6l67zhasyl45yx055y218";
};
buildInputs = [ python pkgconfig glib ];
buildNativeInputs = [ pkgconfig ];
buildInputs = [ python glib ];
# `_GNU_SOURCE' is needed, e.g., to get `struct ucred' from
# <sys/socket.h> with Glibc 2.9.
configureFlags = "--disable-debug --with-python=${python} CPPFLAGS=-D_GNU_SOURCE";
patches = map fetchurl (import ./debian-patches.nix);
}