Author: urkud
Date: Sat Jan  7 19:43:14 2012
New Revision: 31417
URL: https://nixos.org/websvn/nix/?rev=31417&sc=1

Log:
gamin: glib-2.30.0 FTBFS

Added:
   
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.nix
   
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.txt
Modified:
   nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/default.nix

Added: 
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ 
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.nix  
    Sat Jan  7 19:43:14 2012        (r31417)
@@ -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";
+  }
+]

Added: 
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.txt
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ 
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/debian-patches.txt  
    Sat Jan  7 19:43:14 2012        (r31417)
@@ -0,0 +1,2 @@
+gamin/0.1.10-4
+17_deprecated_const_return.patch

Modified: 
nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/default.nix
==============================================================================
--- nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/default.nix     
Sat Jan  7 19:43:07 2012        (r31416)
+++ nixpkgs/branches/glib-2.30/pkgs/development/libraries/gamin/default.nix     
Sat Jan  7 19:43:14 2012        (r31417)
@@ -8,9 +8,13 @@
     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);
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to