> http://build-failures.rhaalovely.net/powerpc/2019-07-29/inputmethods/scim-fcitx.log
> http://build-failures.rhaalovely.net/sparc64/2019-08-12/inputmethods/scim-fcitx.log

This is just a handful of missing headers.

Once provided, it builds on macppc [0] and amd64 is still fine indeed.

While here, i've refreshed WANTLIB and COMPILER.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/scim-fcitx.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/scim-fcitx/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile    12 Jul 2019 20:47:13 -0000      1.17
+++ Makefile    17 Aug 2019 10:33:36 -0000
@@ -5,7 +5,7 @@ COMMENT=        scim input method module for fc
 V=             3.1.1
 DISTNAME=      scim-fcitx.$V
 PKGNAME=       scim-fcitx-$V
-REVISION=      7
+REVISION=      8
 
 CATEGORIES=    inputmethods chinese
 
@@ -14,9 +14,9 @@ HOMEPAGE=     https://github.com/scim-im/sci
 # GPLv2
 PERMIT_PACKAGE=        Yes
 
-WANTLIB=       c iconv intl m ${COMPILER_LIBCXX} scim-1.0 pthread
+WANTLIB +=     ${COMPILER_LIBCXX} c iconv intl m scim-1.0
 
-COMPILER =             base-clang ports-gcc base-gcc
+COMPILER=      base-clang ports-gcc
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=scim/}
 EXTRACT_SUFX=  .tar.bz2
Index: patches/patch-src_ime_cpp
===================================================================
RCS file: patches/patch-src_ime_cpp
diff -N patches/patch-src_ime_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_ime_cpp   17 Aug 2019 10:33:36 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+ports-gcc: add missing header
+
+Index: src/ime.cpp
+--- src/ime.cpp.orig
++++ src/ime.cpp
+@@ -3,6 +3,7 @@
+ #define Uses_SCIM_CONFIG_BASE
+ #define Uses_SCIM_CONFIG_PATH
+ #include <ctype.h>
++#include <string.h>
+ 
+ #include <scim.h>
+ #include "scim_fcitx_imengine.h"
Index: patches/patch-src_scim_fcitx_imengine_cpp
===================================================================
RCS file: patches/patch-src_scim_fcitx_imengine_cpp
diff -N patches/patch-src_scim_fcitx_imengine_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_scim_fcitx_imengine_cpp   17 Aug 2019 10:33:36 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+ports-gcc: add missing header 
+
+Index: src/scim_fcitx_imengine.cpp
+--- src/scim_fcitx_imengine.cpp.orig
++++ src/scim_fcitx_imengine.cpp
+@@ -35,6 +35,8 @@
+ #define Uses_SCIM_CONFIG_BASE
+ #define Uses_SCIM_CONFIG_PATH
+ 
++#include <string.h>
++
+ #include <scim.h>
+ #include "scim_fcitx_imengine.h"
+ #include "main.h"
Index: patches/patch-src_sp_cpp
===================================================================
RCS file: /cvs/ports/inputmethods/scim-fcitx/patches/patch-src_sp_cpp,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-src_sp_cpp
--- patches/patch-src_sp_cpp    29 Oct 2008 02:24:17 -0000      1.1.1.1
+++ patches/patch-src_sp_cpp    17 Aug 2019 10:33:36 -0000
@@ -1,7 +1,15 @@
 $OpenBSD: patch-src_sp_cpp,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
---- src/sp.cpp.orig    Sat Oct 25 15:36:52 2008
-+++ src/sp.cpp Sat Oct 25 15:37:30 2008
-@@ -11,6 +11,7 @@ using namespace scim;
+
+ports-gcc: add missing headers
+
+Index: src/sp.cpp
+--- src/sp.cpp.orig
++++ src/sp.cpp
+@@ -8,9 +8,11 @@
+ using namespace scim;
+ 
+ #include <stdio.h>
++#include <string.h>
  #include <sys/stat.h>
  #include <limits.h>
  #include <ctype.h>

Reply via email to