aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pantry
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-02 02:45:51 +0800
committermarino <marino@FreeBSD.org>2013-10-02 02:45:51 +0800
commit9637075ba1fc071fcb43105d5e3c910e050b4569 (patch)
tree86383fe9ad8b44b6508d10cce6de42068950d243 /misc/pantry
parentbf517e3228498de15b4d76d34c420338e91a2848 (diff)
downloadfreebsd-ports-gnome-9637075ba1fc071fcb43105d5e3c910e050b4569.tar.gz
freebsd-ports-gnome-9637075ba1fc071fcb43105d5e3c910e050b4569.tar.zst
freebsd-ports-gnome-9637075ba1fc071fcb43105d5e3c910e050b4569.zip
misc/pantry: add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'misc/pantry')
-rw-r--r--misc/pantry/files/patch-src_client.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/pantry/files/patch-src_client.cc b/misc/pantry/files/patch-src_client.cc
new file mode 100644
index 000000000000..f0709e758766
--- /dev/null
+++ b/misc/pantry/files/patch-src_client.cc
@@ -0,0 +1,10 @@
+--- src/client.cc.orig 2009-03-15 04:13:28.000000000 +0000
++++ src/client.cc
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+
+ namespace
+ {