diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-07 17:12:30 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-07 17:12:30 +0000 |
commit | a1c17637476bdffa417ef0e9a05d546ae8a840b6 (patch) | |
tree | 14831b5ad6a4208c89a51986b2c1e6ca79a69432 /editors/gobby | |
parent | 26a8f20f449890efe37df71049f66ee2ea6bf315 (diff) | |
download | pkgsrc-a1c17637476bdffa417ef0e9a05d546ae8a840b6.tar.gz |
Fixed missing <unistd.h> on DragonFly.
Diffstat (limited to 'editors/gobby')
-rw-r--r-- | editors/gobby/distinfo | 3 | ||||
-rw-r--r-- | editors/gobby/patches/patch-aa | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/editors/gobby/distinfo b/editors/gobby/distinfo index fc6b1422152..3b455614652 100644 --- a/editors/gobby/distinfo +++ b/editors/gobby/distinfo @@ -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 --git a/editors/gobby/patches/patch-aa b/editors/gobby/patches/patch-aa new file mode 100644 index 00000000000..5f54c2e4e49 --- /dev/null +++ b/editors/gobby/patches/patch-aa @@ -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 |