summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-07-08 19:43:42 +0000
committerNaohiro Aota <naota@gentoo.org>2012-07-08 19:43:42 +0000
commit8d49d15a1641becda000c1f7f64160b14859cbeb (patch)
tree7762fbd9ca6e093d10951c00f2fc5b39b8bf2b69 /app-i18n/scim-bridge/files
parentDrop myself out of metadata. (diff)
downloadgentoo-2-8d49d15a1641becda000c1f7f64160b14859cbeb.tar.gz
gentoo-2-8d49d15a1641becda000c1f7f64160b14859cbeb.tar.bz2
gentoo-2-8d49d15a1641becda000c1f7f64160b14859cbeb.zip
Add patch to build on gcc-4.7. #421899
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/scim-bridge/files')
-rw-r--r--app-i18n/scim-bridge/files/scim-bridge-0.4.16+gcc-4.7.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-i18n/scim-bridge/files/scim-bridge-0.4.16+gcc-4.7.patch b/app-i18n/scim-bridge/files/scim-bridge-0.4.16+gcc-4.7.patch
new file mode 100644
index 000000000000..99899d8c4b37
--- /dev/null
+++ b/app-i18n/scim-bridge/files/scim-bridge-0.4.16+gcc-4.7.patch
@@ -0,0 +1,24 @@
+diff --git a/agent/utils/scim-bridge-agent-panel-client.cpp b/agent/utils/scim-bridge-agent-panel-client.cpp
+index 07cb14b..62fd3b3 100644
+--- a/agent/utils/scim-bridge-agent-panel-client.cpp
++++ b/agent/utils/scim-bridge-agent-panel-client.cpp
+@@ -24,6 +24,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <unistd.h>
+
+ #define Uses_SCIM_CONFIG_PATH
+
+diff --git a/agent/scim-bridge-agent-signal-listener.cpp b/agent/scim-bridge-agent-signal-listener.cpp
+index 433dc15..c9eff47 100644
+--- a/agent/scim-bridge-agent-signal-listener.cpp
++++ b/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>