View | Details | Raw Unified | Return to bug 237148
Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 18-24 Link Here
18
BUILD_DEPENDS=	${RUN_DEPENDS}
18
BUILD_DEPENDS=	${RUN_DEPENDS}
19
RUN_DEPENDS=	scim:textproc/scim
19
RUN_DEPENDS=	scim:textproc/scim
20
20
21
USES=		tar:bzip2 gmake libtool:keepla pkgconfig
21
USES=		compiler:c++11-lang tar:bzip2 gmake libtool:keepla pkgconfig \
22
		localbase:ldflags
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
23
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
24
MAKE_JOBS_UNSAFE=	yes
25
MAKE_JOBS_UNSAFE=	yes
Lines 27-34 Link Here
27
28
28
CONFIGURE_ENV+=	SCIM_DATADIR=${PREFIX}/share/scim \
29
CONFIGURE_ENV+=	SCIM_DATADIR=${PREFIX}/share/scim \
29
		SCIM_ICONDIR=${PREFIX}/share/scim/icons
30
		SCIM_ICONDIR=${PREFIX}/share/scim/icons
30
CPPFLAGS+=	-I${LOCALBASE}/include
31
LDFLAGS+=	-lintl
31
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
32
32
33
SUB_FILES=	pkg-message
33
SUB_FILES=	pkg-message
34
34
(-)files/patch-src__sp.cpp (-8 / +8 lines)
Lines 1-10 Link Here
1
--- src/sp.cpp.orig	2005-05-08 20:11:29.000000000 +0400
1
--- src/sp.cpp.orig	2019-04-09 08:22:14 UTC
2
+++ src/sp.cpp	2014-07-23 03:21:49.000000000 +0400
2
+++ src/sp.cpp
3
@@ -11,6 +11,7 @@
3
@@ -7,6 +7,7 @@
4
 #include "scim_fcitx_imengine.h"
5
 using namespace scim;
6
 
7
+#include <cstring>
8
 #include <stdio.h>
4
 #include <sys/stat.h>
9
 #include <sys/stat.h>
5
 #include <limits.h>
10
 #include <limits.h>
6
 #include <ctype.h>
7
+#include <unistd.h> // for access()
8
 
9
 #include "main.h"
10
 #include "sp.h"
(-)files/patch-src_ime.cpp (+10 lines)
Line 0 Link Here
1
--- src/ime.cpp.orig	2019-04-09 08:15:56 UTC
2
+++ src/ime.cpp
3
@@ -2,6 +2,7 @@
4
 #define Uses_SCIM_ICONV
5
 #define Uses_SCIM_CONFIG_BASE
6
 #define Uses_SCIM_CONFIG_PATH
7
+#include <cstring>
8
 #include <ctype.h>
9
 
10
 #include <scim.h>
(-)files/patch-src_ime.h (+12 lines)
Line 0 Link Here
1
--- src/ime.h.orig	2019-04-09 08:16:46 UTC
2
+++ src/ime.h
3
@@ -2,6 +2,9 @@
4
 #define _IME_H
5
 
6
 #include "xim.h"
7
+#ifdef __FreeBSD__
8
+#include <sys/types.h>
9
+#endif
10
 
11
 #include "scim_fcitx_imengine.h"
12
 
(-)files/patch-src_pyParser.h (+13 lines)
Line 0 Link Here
1
--- src/pyParser.h.orig	2019-04-09 08:24:03 UTC
2
+++ src/pyParser.h
3
@@ -11,6 +11,10 @@
4
 
5
 #include "py.h"
6
 
7
+#ifdef __FreeBSD__
8
+#include <sys/types.h>
9
+#endif
10
+
11
 #define PY_SEPERATOR '\''
12
 #define PY_SEPERATOR_S "'"
13
 
(-)files/patch-src_scim__fcitx__imengine.cpp (+13 lines)
Line 0 Link Here
1
--- src/scim_fcitx_imengine.cpp.orig	2019-04-09 08:12:58 UTC
2
+++ src/scim_fcitx_imengine.cpp
3
@@ -35,6 +35,10 @@
4
 #define Uses_SCIM_CONFIG_BASE
5
 #define Uses_SCIM_CONFIG_PATH
6
 
7
+#ifdef __FreeBSD__
8
+#include <sys/types.h>
9
+#endif
10
+#include <cstring>
11
 #include <scim.h>
12
 #include "scim_fcitx_imengine.h"
13
 #include "main.h"

Return to bug 237148