aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/scim-fcitx/Makefile4
-rw-r--r--chinese/scim-fcitx/files/patch-src__sp.cpp10
-rw-r--r--chinese/scim-fcitx/files/patch-src__tools.cpp10
3 files changed, 22 insertions, 2 deletions
diff --git a/chinese/scim-fcitx/Makefile b/chinese/scim-fcitx/Makefile
index 7d0c31fbff54..515fb1ec4b72 100644
--- a/chinese/scim-fcitx/Makefile
+++ b/chinese/scim-fcitx/Makefile
@@ -3,7 +3,7 @@
PORTNAME= scim
PORTVERSION= 3.1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= chinese
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-fcitx/${PORTVERSION}
PKGNAMESUFFIX= -fcitx
@@ -15,7 +15,7 @@ COMMENT= SCIM IMEngine module for fcitx
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
BUILD_DEPENDS:= ${RUN_DEPENDS}
-USES= tar:bzip2 gmake pkgconfig
+USES= tar:bzip2 gmake libtool:keepla pkgconfig
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/chinese/scim-fcitx/files/patch-src__sp.cpp b/chinese/scim-fcitx/files/patch-src__sp.cpp
new file mode 100644
index 000000000000..94c7272e27b9
--- /dev/null
+++ b/chinese/scim-fcitx/files/patch-src__sp.cpp
@@ -0,0 +1,10 @@
+--- src/sp.cpp.orig 2005-05-08 20:11:29.000000000 +0400
++++ src/sp.cpp 2014-07-23 03:21:49.000000000 +0400
+@@ -11,6 +11,7 @@
+ #include <sys/stat.h>
+ #include <limits.h>
+ #include <ctype.h>
++#include <unistd.h> // for access()
+
+ #include "main.h"
+ #include "sp.h"
diff --git a/chinese/scim-fcitx/files/patch-src__tools.cpp b/chinese/scim-fcitx/files/patch-src__tools.cpp
new file mode 100644
index 000000000000..63c724674c15
--- /dev/null
+++ b/chinese/scim-fcitx/files/patch-src__tools.cpp
@@ -0,0 +1,10 @@
+--- src/tools.cpp.orig 2005-05-20 18:41:12.000000000 +0400
++++ src/tools.cpp 2014-07-23 02:57:51.000000000 +0400
+@@ -14,6 +14,7 @@
+ #include <sys/stat.h>
+ #include <limits.h>
+ #include <string.h>
++#include <unistd.h> // for access()
+
+ #include "version.h"
+ #include "PYFA.h"