From owner-svn-ports-all@freebsd.org Fri Aug 31 22:07:06 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17F91FCC26D; Fri, 31 Aug 2018 22:07:06 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7D31874C3; Fri, 31 Aug 2018 22:07:05 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 915FA211EF; Fri, 31 Aug 2018 22:07:05 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7VM75eH069424; Fri, 31 Aug 2018 22:07:05 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7VM75FV069422; Fri, 31 Aug 2018 22:07:05 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808312207.w7VM75FV069422@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Fri, 31 Aug 2018 22:07:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478613 - in head/japanese/scim-anthy: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/japanese/scim-anthy: . files X-SVN-Commit-Revision: 478613 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 22:07:06 -0000 Author: tobik Date: Fri Aug 31 22:07:04 2018 New Revision: 478613 URL: https://svnweb.freebsd.org/changeset/ports/478613 Log: japanese/scim-anthy: Fix build with Clang 6 /usr/local/include/scim-1.0/scim_types.h:38:11: warning: '__STDC_ISO_10646__' macro redefined [-Wmacro-redefined] # define __STDC_ISO_10646__ ^ :6:9: note: previous definition is here #define __STDC_ISO_10646__ 1 ^ scim_anthy_prefs.cpp:98:9: error: cannot initialize a member subobject of type 'void *' with an rvalue of type 'bool' false, ^~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p478276_s338342/logs/errors/ja-scim-anthy-1.2.7_5.log - scim-anthy finds dependencies in LOCALBASE on its own - __STDC_ISO_10646__ no longer needs to be specified manually - Add license while here Added: head/japanese/scim-anthy/files/ head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp (contents, props changed) Modified: head/japanese/scim-anthy/Makefile Modified: head/japanese/scim-anthy/Makefile ============================================================================== --- head/japanese/scim-anthy/Makefile Fri Aug 31 21:41:41 2018 (r478612) +++ head/japanese/scim-anthy/Makefile Fri Aug 31 22:07:04 2018 (r478613) @@ -10,6 +10,9 @@ MASTER_SITES= OSDN/scim-imengine/37309 MAINTAINER= ports@FreeBSD.org COMMENT= SCIM IMEngine module using Anthy +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= scim:textproc/scim LIB_DEPENDS= libanthy.so:japanese/anthy RUN_DEPENDS:= ${BUILD_DEPENDS} \ @@ -17,8 +20,5 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \ USES= gmake iconv libtool:keepla pkgconfig GNU_CONFIGURE= yes - -CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__ -LDFLAGS+= -L${LOCALBASE}/lib .include Added: head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/scim-anthy/files/patch-src_scim__anthy__prefs.cpp Fri Aug 31 22:07:04 2018 (r478613) @@ -0,0 +1,56 @@ +Add missing initializers + +scim_anthy_prefs.cpp:98:9: error: cannot initialize a member subobject of type 'void *' with an rvalue of type 'bool' + false, + ^~~~~ + +--- src/scim_anthy_prefs.cpp.orig 2008-04-24 03:49:53 UTC ++++ src/scim_anthy_prefs.cpp +@@ -95,6 +95,7 @@ BoolConfigData config_bool_common [] = + N_("A_llow spliting romaji on editing preedit string"), + NULL, + N_("If this check is enabled, you can delete each letter."), ++ NULL, + false, + }, + { +@@ -104,6 +105,7 @@ BoolConfigData config_bool_common [] = + N_("_Entering the pseudo ASCII input mode with capital letters."), + NULL, + N_("If this check is enabled, capital letters will becomes a trigger to enter the pseudo ASCII input mode."), ++ NULL, + false, + }, + { +@@ -113,6 +115,7 @@ BoolConfigData config_bool_common [] = + N_("Insert a _blank with a blank key."), + NULL, + N_("If this check is enabled, a blank key will works to insert a blank when entering the pseudo ASCII input mode."), ++ NULL, + false, + }, + { +@@ -122,6 +125,7 @@ BoolConfigData config_bool_common [] = + N_("_Show predicted candidates while inputting letters"), + NULL, + NULL, ++ NULL, + false, + }, + { +@@ -131,6 +135,7 @@ BoolConfigData config_bool_common [] = + N_("Use _direct select keys while predicting"), + NULL, + NULL, ++ NULL, + false, + }, + { +@@ -269,6 +274,7 @@ IntConfigData config_int_common [] = + 0, + 0, + 0, 0, 0, ++ NULL, + NULL, + NULL, + NULL,