aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/coda6_server/files/patch-coda-src-venus-hdb.cc10
-rw-r--r--net/coda6_server/files/patch-coda-src-venus-user.cc19
2 files changed, 29 insertions, 0 deletions
diff --git a/net/coda6_server/files/patch-coda-src-venus-hdb.cc b/net/coda6_server/files/patch-coda-src-venus-hdb.cc
new file mode 100644
index 000000000000..38f8bb0220ff
--- /dev/null
+++ b/net/coda6_server/files/patch-coda-src-venus-hdb.cc
@@ -0,0 +1,10 @@
+--- coda-src/venus/hdb.cc
++++ coda-src/venus/hdb.cc
+@@ -58,7 +58,6 @@
+ #include <stdlib.h>
+ #include <pwd.h>
+ #include <fcntl.h>
+-#include <utmp.h>
+
+ #include <codadir.h>
+
diff --git a/net/coda6_server/files/patch-coda-src-venus-user.cc b/net/coda6_server/files/patch-coda-src-venus-user.cc
new file mode 100644
index 000000000000..a2be8ffee14c
--- /dev/null
+++ b/net/coda6_server/files/patch-coda-src-venus-user.cc
@@ -0,0 +1,19 @@
+--- coda-src/venus/user.cc
++++ coda-src/venus/user.cc
+@@ -42,7 +42,6 @@
+ #include <netinet/in.h>
+ #include <errno.h>
+ #include <struct.h>
+-#include <utmp.h>
+ #include <pwd.h>
+
+ #include <rpc2/rpc2.h>
+@@ -167,7 +166,7 @@
+
+ int ConsoleUser(uid_t user)
+ {
+-#ifdef __CYGWIN32__
++#if 1
+ return(1);
+
+ #elif defined(__linux__)