summaryrefslogtreecommitdiff
path: root/editors/gobby/patches
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-07 17:12:30 +0000
committerrillig <rillig>2007-11-07 17:12:30 +0000
commit1b66574eb24e7db0a0d5932b907e12ec5bc1451f (patch)
tree14831b5ad6a4208c89a51986b2c1e6ca79a69432 /editors/gobby/patches
parent07e445875f6d9de8b55015f6d4f50db8209a1eb5 (diff)
downloadpkgsrc-1b66574eb24e7db0a0d5932b907e12ec5bc1451f.tar.gz
Fixed missing <unistd.h> on DragonFly.
Diffstat (limited to 'editors/gobby/patches')
-rw-r--r--editors/gobby/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
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