059d1d391b
be compiled against kernel headers for the Linux 2.6 kernel. As it turns out many, if not all, distributions use 2.4 kernel headers for glibc. From my Fedora Core 3 system: $ rpm -qf /usr/include/linux/time.h glibc-kernheaders-2.4-9.1.87 The thing is that compilation now barfs, because some constants are needed that are defined in <linux/autoconf.h> which is empty the way we generate the kernel headers currently in nixpkgs. The source tree needs to be configured. Another challenge to solve :) svn path=/nixpkgs/trunk/; revision=3784
11 lines
276 B
Nix
11 lines
276 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "sysklogd-1.4.1";
|
|
src = fetchurl {
|
|
url = http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.4.1.tar.gz;
|
|
md5 = "d214aa40beabf7bdb0c9b3c64432c774";
|
|
};
|
|
patches = [./sysklogd-1.4.1-cvs-20050525.diff];
|
|
}
|