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/nfs-utils-1.0.6/kernel-2.6.18+.patch | |
parent | c1e85ef735ec97664c6f95b37a968b647aff7ed2 (diff) |
nfs-utils: Fix compile for kernels > 2.6.18
Diffstat (limited to 'packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch')
-rw-r--r-- | packages/nfs-utils/nfs-utils-1.0.6/kernel-2.6.18+.patch | 13 |
1 files changed, 13 insertions, 0 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; + } |