pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/gobby Fixed missing <unistd.h> on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db6c5897c0ea
branches:  trunk
changeset: 535096:db6c5897c0ea
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Nov 07 17:12:30 2007 +0000

description:
Fixed missing <unistd.h> on DragonFly.

diffstat:

 editors/gobby/distinfo         |   3 ++-
 editors/gobby/patches/patch-aa |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 46640b1b085d -r db6c5897c0ea editors/gobby/distinfo
--- a/editors/gobby/distinfo    Wed Nov 07 17:04:43 2007 +0000
+++ b/editors/gobby/distinfo    Wed Nov 07 17:12:30 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/11/04 10:06:25 rillig Exp $
+$NetBSD: distinfo,v 1.2 2007/11/07 17:12:30 rillig Exp $
 
 SHA1 (gobby-0.4.5.tar.gz) = 9f7a66d89c2f33b13a01a9dbb73a7fe35c5bf646
 RMD160 (gobby-0.4.5.tar.gz) = 63e7158539be941f53391e399a518b7db429d135
 Size (gobby-0.4.5.tar.gz) = 356399 bytes
+SHA1 (patch-aa) = be469582c2e0d0b958adc7a8edb17b796f3ac15b
diff -r 46640b1b085d -r db6c5897c0ea editors/gobby/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/gobby/patches/patch-aa    Wed Nov 07 17:12:30 2007 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2007/11/07 17:12:30 rillig Exp $
+
+DragonFly says:
+
+src/ipc.cpp: In function `Gobby::Unix::Address <unnamed>::find_gobby_addr()':
+src/ipc.cpp:181: error: `getuid' was not declared in this scope
+src/ipc.cpp:202: error: `unlink' was not declared in this scope
+...
+
+--- inc/ipc.hpp.orig   2007-08-18 18:02:13.000000000 +0200
++++ inc/ipc.hpp        2007-11-07 18:10:00.000000000 +0100
+@@ -25,6 +25,7 @@
+ # include <set>
+ # include <net6/packet.hpp>
+ # include <net6/connection.hpp>
++# include <unistd.h>
+ # include "unix.hpp"
+ # include "gselector.hpp"
+ #endif



Home | Main Index | Thread Index | Old Index