mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
add fix for braindead module.h, so it can compile with our glibc kernel headers
svn path=/nixpkgs/trunk/; revision=3953
This commit is contained in:
parent
d217b912d2
commit
b9a0811148
@ -7,4 +7,6 @@ ensureDir "$out/usr/share/man/man8/"
|
||||
ensureDir "$out/usr/share/man/man5/"
|
||||
ensureDir "$out/usr/sbin"
|
||||
|
||||
NIX_CFLAGS_COMPILE="-DCONFIG_X86_L1_CACHE_SHIFT=0 $NIX_CFLAGS_COMPILE"
|
||||
|
||||
genericBuild
|
||||
|
@ -7,5 +7,5 @@ stdenv.mkDerivation {
|
||||
url = http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.4.1.tar.gz;
|
||||
md5 = "d214aa40beabf7bdb0c9b3c64432c774";
|
||||
};
|
||||
patches = [./sysklogd-1.4.1-cvs-20050525.diff];
|
||||
patches = [./sysklogd-1.4.1-cvs-20050525.diff ./sysklogd-1.4.1-asm.patch];
|
||||
}
|
||||
|
12
pkgs/os-specific/linux/sysklogd/sysklogd-1.4.1-asm.patch
Normal file
12
pkgs/os-specific/linux/sysklogd/sysklogd-1.4.1-asm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN sysklogd-1.4.1/module.h sysklogd-1.4.1.new/module.h
|
||||
--- sysklogd-1.4.1/module.h 2005-09-28 15:53:58.000000000 +0200
|
||||
+++ sysklogd-1.4.1.new/module.h 2005-09-28 15:54:56.000000000 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
* recent content from Linux 2.4/2.6.
|
||||
*/
|
||||
|
||||
-#include <asm/atomic.h>
|
||||
+/* #include <asm/atomic.h> */
|
||||
|
||||
#define MODULE_NAME_LEN 60
|
||||
|
Loading…
Reference in New Issue
Block a user