sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Eric Sandall (1fbf75f7358a41b5bd12b31244928a0dd05e8d8b)
- From: Eric Sandall <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (1fbf75f7358a41b5bd12b31244928a0dd05e8d8b)
- Date: Wed, 6 Oct 2010 18:06:57 -0500
GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:
net/nfs-utils/HISTORY | 4 ++++
net/nfs-utils/PRE_BUILD | 5 +++++
net/nfs-utils/sysstat.patch | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+)
New commits:
commit 1fbf75f7358a41b5bd12b31244928a0dd05e8d8b
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
nfs-utils: Fix missing includes of <sys/stat.h>
Modified from
http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=798066d5b2183acc617b5b9d18066f02680aa9d6
diff --git a/net/nfs-utils/HISTORY b/net/nfs-utils/HISTORY
index eb8c280..ee31401 100644
--- a/net/nfs-utils/HISTORY
+++ b/net/nfs-utils/HISTORY
@@ -1,3 +1,7 @@
+2010-10-06 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply sysstat.h
+ * sysstat.h: Fix missing includes of <sys/stat.h>
+
2010-04-08 Elisamuel Rest <ryuji AT sourcemage.org>
* DEPENDS: changed portmap dependency to PORT-MAPPER provider
diff --git a/net/nfs-utils/PRE_BUILD b/net/nfs-utils/PRE_BUILD
new file mode 100755
index 0000000..80d2faf
--- /dev/null
+++ b/net/nfs-utils/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+message "${MESSAGE_COLOR}Applying sys/stat.h patch...${DEFAULT_COLOR}" &&
+patch -p1 < "$SPELL_DIRECTORY"/sysstat.patch
diff --git a/net/nfs-utils/sysstat.patch b/net/nfs-utils/sysstat.patch
new file mode 100644
index 0000000..a9ec7f8
--- /dev/null
+++ b/net/nfs-utils/sysstat.patch
@@ -0,0 +1,36 @@
+#
+# Modified from
http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=798066d5b2183acc617b5b9d18066f02680aa9d6
+#
+diff -Naur nfs-utils-1.1.6.orig/utils/exportfs/exportfs.c
nfs-utils-1.1.6/utils/exportfs/exportfs.c
+--- nfs-utils-1.1.6.orig/utils/exportfs/exportfs.c 2010-10-06
16:03:41.545000011 -0700
++++ nfs-utils-1.1.6/utils/exportfs/exportfs.c 2010-10-06 16:04:14.495998584
-0700
+@@ -20,6 +20,7 @@
+ #include <getopt.h>
+ #include <netdb.h>
+ #include <errno.h>
++#include <sys/stat.h>
+ #include "xmalloc.h"
+ #include "misc.h"
+ #include "nfslib.h"
+diff -Naur nfs-utils-1.1.6.orig/utils/mount/mount.c
nfs-utils-1.1.6/utils/mount/mount.c
+--- nfs-utils-1.1.6.orig/utils/mount/mount.c 2010-10-06 16:03:41.545000011
-0700
++++ nfs-utils-1.1.6/utils/mount/mount.c 2010-10-06 16:04:43.843999840
-0700
+@@ -24,6 +24,7 @@
+
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
+diff -Naur nfs-utils-1.1.6.orig/utils/mount/network.c
nfs-utils-1.1.6/utils/mount/network.c
+--- nfs-utils-1.1.6.orig/utils/mount/network.c 2010-10-06 16:03:41.545000011
-0700
++++ nfs-utils-1.1.6/utils/mount/network.c 2010-10-06 16:04:58.978000018
-0700
+@@ -36,6 +36,7 @@
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <sys/stat.h>
+ #include <sys/wait.h>
+ #include <netinet/in.h>
+ #include <rpc/rpc.h>
- [SM-Commit] GIT changes to master grimoire by Eric Sandall (1fbf75f7358a41b5bd12b31244928a0dd05e8d8b), Eric Sandall, 10/06/2010
Archive powered by MHonArc 2.6.24.