summaryrefslogtreecommitdiff
path: root/source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch')
-rw-r--r--source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch b/source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch
new file mode 100644
index 00000000..918de9e1
--- /dev/null
+++ b/source/x/scim-hangul/scim-hangul-0.3.2+gcc-4.7.patch
@@ -0,0 +1,12 @@
+diff --git a/src/scim_hangul_imengine.cpp b/src/scim_hangul_imengine.cpp
+index 7d70654..d678902 100644
+--- a/src/scim_hangul_imengine.cpp
++++ b/src/scim_hangul_imengine.cpp
+@@ -30,6 +30,7 @@
+ #define Uses_SCIM_CONFIG_BASE
+
+ #include <cstring>
++#include <unistd.h>
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif