Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 11:08:56 +0000 (UTC)
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561053 - in head/japanese/scim-anthy: . files
Message-ID:  <202101101108.10AB8ujK024759@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nobutaka
Date: Sun Jan 10 11:08:56 2021
New Revision: 561053
URL: https://svnweb.freebsd.org/changeset/ports/561053

Log:
  - Fix build error with Clang 11.
  - Add undeclared dependencies.
  
  PR:		252535
  Submitted by:	Tomoyuki Sakurai <trombik1973@gmail.com>

Modified:
  head/japanese/scim-anthy/Makefile
  head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp

Modified: head/japanese/scim-anthy/Makefile
==============================================================================
--- head/japanese/scim-anthy/Makefile	Sun Jan 10 10:41:33 2021	(r561052)
+++ head/japanese/scim-anthy/Makefile	Sun Jan 10 11:08:56 2021	(r561053)
@@ -14,11 +14,14 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	scim:textproc/scim
-LIB_DEPENDS=	libanthy.so:japanese/anthy
+LIB_DEPENDS=	libanthy.so:japanese/anthy \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 RUN_DEPENDS:=	${BUILD_DEPENDS} \
 		kasumi:japanese/kasumi
 
-USES=		gmake iconv libtool:keepla pkgconfig
+USES=		gettext-runtime gmake iconv libtool:keepla pkgconfig
+USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango
 GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>

Modified: head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp
==============================================================================
--- head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp	Sun Jan 10 10:41:33 2021	(r561052)
+++ head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp	Sun Jan 10 11:08:56 2021	(r561053)
@@ -46,6 +46,17 @@ scim_anthy_prefs.cpp:98:9: error: cannot initialize a 
          false,
      },
      {
+@@ -215,8 +220,8 @@ BoolConfigData config_bool_common [] =
+     },
+     {
+         NULL,
+-        "",
+-        "",
++        (bool)"",
++        (bool)"",
+         NULL,
+         NULL,
+         NULL,
 @@ -269,6 +274,7 @@ IntConfigData config_int_common [] =
          0,
          0,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101101108.10AB8ujK024759>