diff options
author | Matthias Hentges <oe@hentges.net> | 2007-02-22 12:40:06 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-02-22 12:40:06 +0000 |
commit | 4b36634fe8f9c86146e2e78c6fc4cc4dec086243 (patch) | |
tree | aa7ebc8c14d22c3d4914cad82b3dc44a2b24f45e /packages/nfs-utils | |
parent | c1e85ef735ec97664c6f95b37a968b647aff7ed2 (diff) |
nfs-utils: Fix compile for kernels > 2.6.18
Diffstat (limited to 'packages/nfs-utils')
-rw-r--r-- | packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch | 13 | ||||
-rw-r--r-- | packages/nfs-utils/nfs-utils_1.0.6.bb | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch b/packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch new file mode 100644 index 0000000000..219bed094b --- /dev/null +++ b/packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch @@ -0,0 +1,13 @@ +--- nfs-utils-1.0.6/tools/getkversion/getkversion.c.orig 2007-02-22 12:33:54.000000000 +0000 ++++ nfs-utils-1.0.6/tools/getkversion/getkversion.c 2007-02-22 12:33:56.000000000 +0000 +@@ -12,6 +12,10 @@ + int + main(void) /* This is for Dan Popp ;) */ + { ++ ++#ifdef UTS_RELEASE + printf("%s\n", UTS_RELEASE); ++#endif ++ + return 0; + } diff --git a/packages/nfs-utils/nfs-utils_1.0.6.bb b/packages/nfs-utils/nfs-utils_1.0.6.bb index 2072bd3157..8ca082114e 100644 --- a/packages/nfs-utils/nfs-utils_1.0.6.bb +++ b/packages/nfs-utils/nfs-utils_1.0.6.bb @@ -2,13 +2,14 @@ DESCRIPTION = "userspace utilities for kernel nfs" PRIORITY = "optional" SECTION = "console/network" LICENSE = "GPL" -PR = "r7" +PR = "r8" SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \ file://acinclude-lossage.patch;patch=1 \ file://rpcgen-lossage.patch;patch=1 \ file://stat-include.patch;patch=1 \ file://nfs-utils-1.0.6-uclibc.patch;patch=1 \ + file://kernel-2.6.18+.patch;patch=1 \ file://nfsserver \ file://forgotten-defines" |