aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-01 20:33:57 +0800
committermarino <marino@FreeBSD.org>2013-10-01 20:33:57 +0800
commit8306a0730d49f03dcf0711a2d32429a5af0280c7 (patch)
treebe3d4008d960a95242980880664f9dee7373dc33
parent5c93ccff2e4092b726fda761d22776cebf013340 (diff)
downloadfreebsd-ports-gnome-8306a0730d49f03dcf0711a2d32429a5af0280c7.tar.gz
freebsd-ports-gnome-8306a0730d49f03dcf0711a2d32429a5af0280c7.tar.zst
freebsd-ports-gnome-8306a0730d49f03dcf0711a2d32429a5af0280c7.zip
textproc/scim-bridge: add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit)
-rw-r--r--textproc/scim-bridge/files/patch-agent_scim-bridge-agent-signal-listener.cpp10
-rw-r--r--textproc/scim-bridge/files/patch-agent_utils_scim-bridge-agent-panel-client.cpp10
2 files changed, 20 insertions, 0 deletions
diff --git a/textproc/scim-bridge/files/patch-agent_scim-bridge-agent-signal-listener.cpp b/textproc/scim-bridge/files/patch-agent_scim-bridge-agent-signal-listener.cpp
new file mode 100644
index 000000000000..7e4d333f6f9b
--- /dev/null
+++ b/textproc/scim-bridge/files/patch-agent_scim-bridge-agent-signal-listener.cpp
@@ -0,0 +1,10 @@
+--- agent/scim-bridge-agent-signal-listener.cpp.orig 2008-11-02 06:44:50.000000000 +0000
++++ agent/scim-bridge-agent-signal-listener.cpp
+@@ -22,6 +22,7 @@
+ #include <signal.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include <sys/socket.h>
+ #include <sys/types.h>
diff --git a/textproc/scim-bridge/files/patch-agent_utils_scim-bridge-agent-panel-client.cpp b/textproc/scim-bridge/files/patch-agent_utils_scim-bridge-agent-panel-client.cpp
new file mode 100644
index 000000000000..d50d33b82861
--- /dev/null
+++ b/textproc/scim-bridge/files/patch-agent_utils_scim-bridge-agent-panel-client.cpp
@@ -0,0 +1,10 @@
+--- agent/utils/scim-bridge-agent-panel-client.cpp.orig 2009-01-17 17:20:15.000000000 +0000
++++ agent/utils/scim-bridge-agent-panel-client.cpp
+@@ -20,6 +20,7 @@
+
+ #include <errno.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include <sys/stat.h>
+ #include <sys/types.h>