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

Same thing as scim-fcitx.

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

Comments/feedback are welcome,

Charlène.


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


Index: Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/scim-hangul/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile    12 Jul 2019 20:47:13 -0000      1.27
+++ Makefile    17 Aug 2019 10:51:48 -0000
@@ -3,7 +3,7 @@
 COMMENT=       scim input method module for hangul
 
 DISTNAME=      scim-hangul-0.3.2
-REVISION=      14
+REVISION=      15
 
 CATEGORIES=    inputmethods korean
 
@@ -12,16 +12,16 @@ HOMEPAGE=   https://sourceforge.net/projec
 # 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_pixbuf-2.0 gio-2.0
-WANTLIB+= glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
-WANTLIB+= gtk-x11-2.0 hangul harfbuzz iconv intl m pango-1.0 pangocairo-1.0
-WANTLIB+= pangoft2-1.0 pcre pixman-1 png pthread scim-1.0
-WANTLIB+= scim-gtkutils-1.0 scim-x11utils-1.0 ${COMPILER_LIBCXX} xcb xcb-render
-WANTLIB+= xcb-shm z fribidi
+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 hangul harfbuzz iconv intl
+WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
+WANTLIB += png scim-1.0 scim-gtkutils-1.0 scim-x11utils-1.0 xcb
+WANTLIB += xcb-render 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_hangul_imengine_cpp
===================================================================
RCS file: 
/cvs/ports/inputmethods/scim-hangul/patches/patch-src_scim_hangul_imengine_cpp,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-src_scim_hangul_imengine_cpp
--- patches/patch-src_scim_hangul_imengine_cpp  31 Oct 2008 01:42:00 -0000      
1.1.1.1
+++ patches/patch-src_scim_hangul_imengine_cpp  17 Aug 2019 10:51:48 -0000
@@ -1,10 +1,15 @@
 $OpenBSD: patch-src_scim_hangul_imengine_cpp,v 1.1.1.1 2008/10/31 01:42:00 
kevlo Exp $
---- src/scim_hangul_imengine.cpp.orig  Wed Oct 29 18:29:20 2008
-+++ src/scim_hangul_imengine.cpp       Wed Oct 29 18:31:21 2008
-@@ -48,6 +48,8 @@
+
+Add missing headers fort ports-gcc
+
+Index: src/scim_hangul_imengine.cpp
+--- src/scim_hangul_imengine.cpp.orig
++++ src/scim_hangul_imengine.cpp
+@@ -48,6 +48,9 @@
    #define bind_textdomain_codeset(domain,codeset)
  #endif
  
++#include <string.h>
 +#include <unistd.h>
 +
  #define scim_module_init hangul_LTX_scim_module_init


Reply via email to