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

Once all headers are provided, it builds fine on macppc [0] and amd64 is
not broken.

OK?

Charlène.


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


Index: Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/scim-pinyin/Makefile,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 Makefile
--- Makefile    12 Jul 2019 20:47:14 -0000      1.24
+++ Makefile    17 Aug 2019 19:45:00 -0000
@@ -3,7 +3,7 @@
 COMMENT=       scim input method module for pinyin
 
 DISTNAME=      scim-pinyin-0.5.91
-REVISION=      13
+REVISION=      14
 
 CATEGORIES=    inputmethods chinese
 
@@ -12,16 +12,16 @@ HOMEPAGE=   https://github.com/scim-im/sci
 # GPLv2
 PERMIT_PACKAGE=        Yes
 
-WANTLIB+= GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
-WANTLIB+= Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm expat ffi
-WANTLIB+= fontconfig freetype gdk-x11-2.0 gdk-x11-2.0 gdk_pixbuf-2.0
-WANTLIB+= gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
-WANTLIB+= graphite2 gthread-2.0 gtk-x11-2.0 gtk-x11-2.0 harfbuzz iconv intl m
-WANTLIB+= pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png
-WANTLIB+= pthread scim-1.0 scim-gtkutils-1.0 fribidi
-WANTLIB+= scim-x11utils-1.0 ${COMPILER_LIBCXX} xcb xcb-render xcb-shm z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
+WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo expat
+WANTLIB += ffi fontconfig freetype fribidi gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
+WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m pango-1.0
+WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png scim-1.0
+WANTLIB += scim-gtkutils-1.0 scim-x11utils-1.0 xcb xcb-render
+WANTLIB += xcb-shm z
 
-COMPILER =             base-clang ports-gcc base-gcc
+COMPILER=      base-clang ports-gcc
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=scim/}
 
Index: patches/patch-src_scim_phrase_cpp
===================================================================
RCS file: patches/patch-src_scim_phrase_cpp
diff -N patches/patch-src_scim_phrase_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_scim_phrase_cpp   17 Aug 2019 19:45:00 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Add missing header for ports-gcc
+
+Index: src/scim_phrase.cpp
+--- src/scim_phrase.cpp.orig
++++ src/scim_phrase.cpp
+@@ -27,6 +27,8 @@
+ 
+ #define SCIM_PHRASE_MAX_RELATION 1000
+ 
++#include <string.h>
++
+ #include <scim.h>
+ #include "scim_pinyin_private.h"
+ #include "scim_phrase.h"
Index: patches/patch-src_scim_pinyin_cpp
===================================================================
RCS file: patches/patch-src_scim_pinyin_cpp
diff -N patches/patch-src_scim_pinyin_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_scim_pinyin_cpp   17 Aug 2019 19:45:00 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Add missing header for ports-gcc
+
+Index: src/scim_pinyin.cpp
+--- src/scim_pinyin.cpp.orig
++++ src/scim_pinyin.cpp
+@@ -28,6 +28,8 @@
+ #define Uses_SCIM_CONFIG_PATH
+ #define Uses_SCIM_LOOKUP_TABLE
+ 
++#include <string.h>
++
+ #include <scim.h>
+ #include "scim_pinyin.h"
+ 
Index: patches/patch-src_scim_pinyin_phrase_cpp
===================================================================
RCS file: patches/patch-src_scim_pinyin_phrase_cpp
diff -N patches/patch-src_scim_pinyin_phrase_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_scim_pinyin_phrase_cpp    17 Aug 2019 19:45:00 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Add missing header for ports-gcc
+
+Index: src/scim_pinyin_phrase.cpp
+--- src/scim_pinyin_phrase.cpp.orig
++++ src/scim_pinyin_phrase.cpp
+@@ -26,6 +26,8 @@
+ #define Uses_SCIM_CONFIG_PATH
+ #define Uses_SCIM_LOOKUP_TABLE
+ 
++#include <string.h>
++
+ #include <scim.h>
+ #include "scim_pinyin_private.h"
+ #include "scim_phrase.h"
Index: patches/patch-src_scim_special_table_cpp
===================================================================
RCS file: patches/patch-src_scim_special_table_cpp
diff -N patches/patch-src_scim_special_table_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_scim_special_table_cpp    17 Aug 2019 19:45:00 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Add missing header for ports-gcc
+
+Index: src/scim_special_table.cpp
+--- src/scim_special_table.cpp.orig
++++ src/scim_special_table.cpp
+@@ -20,6 +20,7 @@
+ #define Uses_STL_IOMANIP
+ #define Uscs_C_STRING
+ 
++#include <string.h>
+ #include <time.h>
+ #include <scim.h>
+ #include "scim_pinyin_private.h"

Reply via email to