ntrack-011

svn path=/nixpkgs/trunk/; revision=27386
This commit is contained in:
Yury G. Kudryashov 2011-06-07 21:50:48 +00:00
parent 5fb0953680
commit 496ab8b948
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, glib, qt4, pkgconfig, libnl2, pygobject, python }:
let
version = "011";
in
stdenv.mkDerivation rec {
name = "ntrack-${version}";
src = fetchurl {
url = "http://launchpad.net/ntrack/main/${version}/+download/${name}.tar.gz";
sha256 = "0qi6nhymsv7w6hfxnz9jbxk311wb6x9jci7a3gcr4cc5nwkl7sxy";
};
buildInputs = [ libnl2 qt4 ];
buildNativeInputs = [ pkgconfig python ];
configureFlags = "--without-gobject CFLAGS=--std=gnu99";
patches = [ ./libnl2.patch ];
}

View File

@ -0,0 +1,14 @@
Source: upstream rev. 269
=== modified file 'modules/ntrack-libnl.c'
--- old/modules/ntrack-libnl.c 2010-12-26 13:22:32 +0000
+++ new/modules/ntrack-libnl.c 2011-03-26 23:21:49 +0000
@@ -74,6 +74,7 @@
nl_cache_mngr_add (mngr, \
name, \
0, \
+ 0, \
&cache_o)
#define NL_PRINT_ERROR(text,err) \
printf ("%s/%s\n", text, nl_geterror(err))

View File

@ -4009,6 +4009,8 @@ let
includeTools = true;
};
ntrack = callPackage ../development/libraries/ntrack { };
ode = builderDefsPackage (import ../development/libraries/ode) {
};