aboutsummaryrefslogtreecommitdiffstats
path: root/net/coda6_server
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-03-06 18:28:23 +0800
committered <ed@FreeBSD.org>2010-03-06 18:28:23 +0800
commit4a0b183acfc96303ee99ef2bbde346a42a57bac7 (patch)
tree59221a14d5f33e986176a7eef9f7c09f88a2a6f5 /net/coda6_server
parentae61830d26db1e20d752a3c97ea20163baafc57d (diff)
downloadfreebsd-ports-gnome-4a0b183acfc96303ee99ef2bbde346a42a57bac7.tar.gz
freebsd-ports-gnome-4a0b183acfc96303ee99ef2bbde346a42a57bac7.tar.zst
freebsd-ports-gnome-4a0b183acfc96303ee99ef2bbde346a42a57bac7.zip
Make coda6_client build on FreeBSD HEAD.
Disable all utmp bits. This will have no effect on 8.0 and earlier, since the utmp code was broken to begin with. It doesn't read from the proper utmp file, so it could have never worked. Approved by: miwi (portmgr) Feature safe: yes
Diffstat (limited to 'net/coda6_server')
-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__)