From 798066d5b2183acc617b5b9d18066f02680aa9d6 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 26 May 2010 10:34:11 +0200 Subject: nfs-utils: add patch for missing include sys/stat.h * without, it fails with undefined reference to S_ISREG (the same for S_ISDIR) Signed-off-by: Martin Jansa --- .../nfs-utils-S_ISREG-missing-include.patch | 33 ++++++++++++++++++++++ recipes/nfs-utils/nfs-utils_1.1.2.bb | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 recipes/nfs-utils/nfs-utils-1.1.2/nfs-utils-S_ISREG-missing-include.patch (limited to 'recipes/nfs-utils') diff --git a/recipes/nfs-utils/nfs-utils-1.1.2/nfs-utils-S_ISREG-missing-include.patch b/recipes/nfs-utils/nfs-utils-1.1.2/nfs-utils-S_ISREG-missing-include.patch new file mode 100644 index 0000000000..6b2c75e7a8 --- /dev/null +++ b/recipes/nfs-utils/nfs-utils-1.1.2/nfs-utils-S_ISREG-missing-include.patch @@ -0,0 +1,33 @@ +diff -uNr nfs-utils-1.1.2.orig//utils/exportfs/exportfs.c nfs-utils-1.1.2/utils/exportfs/exportfs.c +--- nfs-utils-1.1.2.orig//utils/exportfs/exportfs.c 2008-03-14 16:46:29.000000000 +0100 ++++ nfs-utils-1.1.2/utils/exportfs/exportfs.c 2010-05-26 10:31:23.000000000 +0200 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include "xmalloc.h" + #include "misc.h" + #include "nfslib.h" +diff -uNr nfs-utils-1.1.2.orig//utils/mount/mount.c nfs-utils-1.1.2/utils/mount/mount.c +--- nfs-utils-1.1.2.orig//utils/mount/mount.c 2008-03-14 16:46:29.000000000 +0100 ++++ nfs-utils-1.1.2/utils/mount/mount.c 2010-05-26 10:31:32.000000000 +0200 +@@ -24,6 +24,7 @@ + + #include + #include ++#include + #include + #include + #include +diff -uNr nfs-utils-1.1.2.orig//utils/mount/network.c nfs-utils-1.1.2/utils/mount/network.c +--- nfs-utils-1.1.2.orig//utils/mount/network.c 2008-03-14 16:46:29.000000000 +0100 ++++ nfs-utils-1.1.2/utils/mount/network.c 2010-05-26 10:31:35.000000000 +0200 +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + + #include "xcommon.h" + #include "mount.h" diff --git a/recipes/nfs-utils/nfs-utils_1.1.2.bb b/recipes/nfs-utils/nfs-utils_1.1.2.bb index a663a6441b..be45310d06 100644 --- a/recipes/nfs-utils/nfs-utils_1.1.2.bb +++ b/recipes/nfs-utils/nfs-utils_1.1.2.bb @@ -3,13 +3,14 @@ PRIORITY = "optional" SECTION = "console/network" LICENSE = "GPL" -PR = "r7" +PR = "r8" DEPENDS = "util-linux-ng tcp-wrappers libevent" SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \ file://nfs-utils-tools-unset-cflags.patch \ file://nfs-utils-uclibc-compile.patch \ + file://nfs-utils-S_ISREG-missing-include.patch \ file://nfsserver \ " -- cgit v1.2.3