Ticket #309 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

fix compilation on OpenBSD

Reported by: jasper Owned by: armin
Priority: normal Milestone:
Component: Gobby Version:
Severity: major Keywords:
Cc: Launchpad Bug:

Description

currently i'm in the process of porting net6 1.3.5, obby 0.4.4 and gobby 0.4.5 to OpenBSD. net6 and obby compiled fine (after some lib-link.m4 changes).

i needed the following diff to make gobby compile though:

--- src/ipc.cpp.orig Thu Sep 20 22:51:00 2007 +++ src/ipc.cpp Thu Sep 20 22:51:15 2007 @@ -26,6 +26,7 @@

#include <glibmm/pattern.h> #include <sys/stat.h>

+#include <unistd.h>

#include "ipc.hpp"

namespace

Change History

Changed 6 years ago by jasper

hmm...sorry for the malformed diff, but it's rather simple so you get the idea :)

Changed 6 years ago by phil

Hi Jasper, so this is the only change necessary? Could you please also try to port sobby?

Changed 6 years ago by Jasper

That was the only change needed for Gobby to compile. When I test it with two users both on localhost, Gobby segfaults. I have yet to investigate that though, I'll keep you posted.

Regarding Sobby, src/command_executer.cpp also needs #include <unistd.h> to compile. I haven't got around actually testing the binary.

Changed 6 years ago by phil

Committed both, thank you for your efforts!

Changed 6 years ago by phil

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1666] (Gobby) and [1667] (Sobby). Please create a new ticket regarding the Gobby crash if necessary.

Note: See TracTickets for help on using tickets.