[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] usher on BSD
From: |
Lapo Luchini |
Subject: |
[Monotone-devel] usher on BSD |
Date: |
Sat, 10 Oct 2009 19:15:22 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 |
Has anyone managed to use usher on any BSD host?
I managed to compile it with the following patch, but is still doesn't
work: it hangs on the first attempt of connections and must be then
kill-9'ed.
#
# old_revision [2f2e1e9d2e91998278fb7e4c9b7168aed96dc322]
#
# patch "src/administrator.cc"
# from [21179df6f7338fab09b61035dca2cb9a116dd8e6]
# to [79ca54c69501d3a75565e1b0a3feb45415fa9931]
#
# patch "src/server.cc"
# from [55442d680c936f59823a36aea57a25443955a99b]
# to [952b9ec1c689192b9e584142500bb1165b2c523d]
#
============================================================
--- src/administrator.cc 21179df6f7338fab09b61035dca2cb9a116dd8e6
+++ src/administrator.cc 79ca54c69501d3a75565e1b0a3feb45415fa9931
@@ -22,6 +22,8 @@ using boost::lexical_cast;
#include <cstring>
#include <netinet/in.h>
+#include <sys/types.h>
+#include <sys/socket.h>
namespace defaults
{
============================================================
--- src/server.cc 55442d680c936f59823a36aea57a25443955a99b
+++ src/server.cc 952b9ec1c689192b9e584142500bb1165b2c523d
@@ -14,6 +14,11 @@ using std::cerr;
#include <unistd.h>
#include <cstring>
+#include <netinet/in.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <signal.h>
+
#include <boost/lexical_cast.hpp>
using boost::lexical_cast;
--
Lapo Luchini - http://lapo.it/
“ECC curves are divided into three groups, weak curves, inefficient
curves, and curves patented by Certicom” (Peter Gutmann, 2001-08-10)
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] usher on BSD,
Lapo Luchini <=