mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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:
parent
7331031c0c
commit
1f84acc113
10
pkgs/development/libraries/gamin/debian-patches.nix
Normal file
10
pkgs/development/libraries/gamin/debian-patches.nix
Normal 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";
|
||||
}
|
||||
]
|
2
pkgs/development/libraries/gamin/debian-patches.txt
Normal file
2
pkgs/development/libraries/gamin/debian-patches.txt
Normal file
@ -0,0 +1,2 @@
|
||||
gamin/0.1.10-4
|
||||
17_deprecated_const_return.patch
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user