From owner-svn-ports-all@freebsd.org Thu Nov 1 18:02:53 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 C506510FA378; Thu, 1 Nov 2018 18:02:52 +0000 (UTC) (envelope-from antoine@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 794528346A; Thu, 1 Nov 2018 18:02:52 +0000 (UTC) (envelope-from antoine@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 5A3F81F3F1; Thu, 1 Nov 2018 18:02:52 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA1I2qLj098825; Thu, 1 Nov 2018 18:02:52 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA1I2lw6098799; Thu, 1 Nov 2018 18:02:47 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201811011802.wA1I2lw6098799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 1 Nov 2018 18:02:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r483693 - in branches/2018Q4/japanese/jmode: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: in branches/2018Q4/japanese/jmode: . files X-SVN-Commit-Revision: 483693 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.29 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: Thu, 01 Nov 2018 18:02:53 -0000 Author: antoine Date: Thu Nov 1 18:02:47 2018 New Revision: 483693 URL: https://svnweb.freebsd.org/changeset/ports/483693 Log: MFH: r483145 - Fix build error with Clang 6. - Pet portlint. Added: branches/2018Q4/japanese/jmode/files/patch-src_anthy.xpm - copied unchanged from r483145, head/japanese/jmode/files/patch-src_anthy.xpm branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_anthyconv.cpp branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.h - copied unchanged from r483145, head/japanese/jmode/files/patch-src_anthyconv.h branches/2018Q4/japanese/jmode/files/patch-src_code.xpm - copied unchanged from r483145, head/japanese/jmode/files/patch-src_code.xpm branches/2018Q4/japanese/jmode/files/patch-src_connection.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_connection.cpp branches/2018Q4/japanese/jmode/files/patch-src_convdisp.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_convdisp.cpp branches/2018Q4/japanese/jmode/files/patch-src_kkconv.h - copied unchanged from r483145, head/japanese/jmode/files/patch-src_kkconv.h branches/2018Q4/japanese/jmode/files/patch-src_off.xpm - copied unchanged from r483145, head/japanese/jmode/files/patch-src_off.xpm branches/2018Q4/japanese/jmode/files/patch-src_on.xpm - copied unchanged from r483145, head/japanese/jmode/files/patch-src_on.xpm branches/2018Q4/japanese/jmode/files/patch-src_skk.xpm - copied unchanged from r483145, head/japanese/jmode/files/patch-src_skk.xpm branches/2018Q4/japanese/jmode/files/patch-src_skkconv.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_skkconv.cpp branches/2018Q4/japanese/jmode/files/patch-src_skkconv.h - copied unchanged from r483145, head/japanese/jmode/files/patch-src_skkconv.h branches/2018Q4/japanese/jmode/files/patch-src_ui.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_ui.cpp branches/2018Q4/japanese/jmode/files/patch-src_ximic.cpp - copied unchanged from r483145, head/japanese/jmode/files/patch-src_ximic.cpp Modified: branches/2018Q4/japanese/jmode/Makefile branches/2018Q4/japanese/jmode/files/patch-Makefile.in branches/2018Q4/japanese/jmode/files/patch-src_dispatch.cpp branches/2018Q4/japanese/jmode/files/patch-src_keyatom.cpp branches/2018Q4/japanese/jmode/files/patch-src_kkconv.cpp branches/2018Q4/japanese/jmode/files/patch-src_main.cpp branches/2018Q4/japanese/jmode/files/patch-src_ximim.cpp branches/2018Q4/japanese/jmode/files/patch-src_ximpacket.cpp branches/2018Q4/japanese/jmode/files/patch-src_ximtrans.cpp Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/japanese/jmode/Makefile ============================================================================== --- branches/2018Q4/japanese/jmode/Makefile Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/Makefile Thu Nov 1 18:02:47 2018 (r483693) @@ -13,13 +13,16 @@ COMMENT?= XIM server for Anthy input method LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +NOT_FOR_ARCHS= aarch64 mips mips64 powerpc64 sparc64 + LIB_DEPENDS= libanthy.so:japanese/anthy +USES= gettext-runtime gnome USE_GNOME= gtk12 +USE_XORG= x11 xext xi + GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib - -NOT_FOR_ARCHS= aarch64 amd64 mips mips64 powerpc64 sparc64 .include Modified: branches/2018Q4/japanese/jmode/files/patch-Makefile.in ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-Makefile.in Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-Makefile.in Thu Nov 1 18:02:47 2018 (r483693) @@ -1,6 +1,6 @@ ---- Makefile.in.orig Mon Apr 14 22:12:05 2003 -+++ Makefile.in Thu May 22 19:00:49 2003 -@@ -430,7 +430,7 @@ +--- Makefile.in.orig 2003-08-11 14:13:27 UTC ++++ Makefile.in +@@ -430,7 +430,7 @@ info: info-recursive info-am: Copied: branches/2018Q4/japanese/jmode/files/patch-src_anthy.xpm (from r483145, head/japanese/jmode/files/patch-src_anthy.xpm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_anthy.xpm Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_anthy.xpm) @@ -0,0 +1,9 @@ +--- src/anthy.xpm.orig 2018-02-10 09:55:51 UTC ++++ src/anthy.xpm +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * anthy_xpm[] = { ++static const char * anthy_xpm[] = { + "24 32 81 1", + " c None", + ". c #EAAFC3", Copied: branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.cpp (from r483145, head/japanese/jmode/files/patch-src_anthyconv.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_anthyconv.cpp) @@ -0,0 +1,19 @@ +--- src/anthyconv.cpp.orig 2003-06-02 14:50:36 UTC ++++ src/anthyconv.cpp +@@ -5,6 +5,7 @@ + #endif + + #include ++#include + #include "anthy.xpm" + #include "jmode.h" + #include "anthyconv.h" +@@ -147,7 +148,7 @@ KKContext *AnthyConv::createContext(XimI + return anthy; + } + +-char **AnthyConv::getIcon() ++const char **AnthyConv::getIcon() + { + // toolbarに出てくるアイコンを返す。 + return anthy_xpm; Copied: branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.h (from r483145, head/japanese/jmode/files/patch-src_anthyconv.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_anthyconv.h Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_anthyconv.h) @@ -0,0 +1,11 @@ +--- src/anthyconv.h.orig 2003-01-27 13:20:32 UTC ++++ src/anthyconv.h +@@ -13,7 +13,7 @@ class AnthyConv : public KKConv{ + public: + virtual ~AnthyConv(); + KKContext *createContext(XimIC *); +- char **getIcon(); ++ const char **getIcon(); + void onPushIcon(); + virtual char *getModeName(int ); + private: Copied: branches/2018Q4/japanese/jmode/files/patch-src_code.xpm (from r483145, head/japanese/jmode/files/patch-src_code.xpm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_code.xpm Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_code.xpm) @@ -0,0 +1,9 @@ +--- src/code.xpm.orig 2018-02-10 09:59:43 UTC ++++ src/code.xpm +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * code_xpm[] = { ++static const char * code_xpm[] = { + "24 32 13 1", + " c None", + ". c #7FFF00", Copied: branches/2018Q4/japanese/jmode/files/patch-src_connection.cpp (from r483145, head/japanese/jmode/files/patch-src_connection.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_connection.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_connection.cpp) @@ -0,0 +1,10 @@ +--- src/connection.cpp.orig 2003-05-03 13:13:15 UTC ++++ src/connection.cpp +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + #include "xim.h" + #include "xdispatch.h" + #include Copied: branches/2018Q4/japanese/jmode/files/patch-src_convdisp.cpp (from r483145, head/japanese/jmode/files/patch-src_convdisp.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_convdisp.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_convdisp.cpp) @@ -0,0 +1,10 @@ +--- src/convdisp.cpp.orig 2003-06-02 15:02:23 UTC ++++ src/convdisp.cpp +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + #include "xim.h" + #include "kkconv.h" + #include "convdisp.h" Modified: branches/2018Q4/japanese/jmode/files/patch-src_dispatch.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_dispatch.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_dispatch.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,5 +1,5 @@ ---- src/dispatch.cpp.orig 2014-06-28 22:10:26.000000000 +0900 -+++ src/dispatch.cpp 2014-06-28 22:10:45.000000000 +0900 +--- src/dispatch.cpp.orig 2003-08-11 14:38:20 UTC ++++ src/dispatch.cpp @@ -16,6 +16,7 @@ #include #include Modified: branches/2018Q4/japanese/jmode/files/patch-src_keyatom.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_keyatom.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_keyatom.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,10 +1,20 @@ ---- src/keyatom.cpp.orig 2014-06-28 22:19:00.000000000 +0900 -+++ src/keyatom.cpp 2014-06-28 22:19:19.000000000 +0900 -@@ -9,6 +9,7 @@ +--- src/keyatom.cpp.orig 2003-01-21 14:26:14 UTC ++++ src/keyatom.cpp +@@ -9,6 +9,8 @@ # include # endif #endif +#include ++#include #include "jmode.h" +@@ -275,7 +277,7 @@ read_conf_file() + strlen(CONF_DIR)+20); + fn[0] = 0; + strcat(fn, homedir); +- strcat(fn, "/."PACKAGE); ++ strcat(fn, "/." PACKAGE); + if (read_a_conf_file(fn)) { + return ; + } Modified: branches/2018Q4/japanese/jmode/files/patch-src_kkconv.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_kkconv.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_kkconv.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,10 +1,37 @@ ---- src/kkconv.cpp.orig 2014-06-28 22:15:17.000000000 +0900 -+++ src/kkconv.cpp 2014-06-28 22:15:38.000000000 +0900 -@@ -18,6 +18,7 @@ +--- src/kkconv.cpp.orig 2002-06-15 14:05:09 UTC ++++ src/kkconv.cpp +@@ -18,10 +18,12 @@ # include # endif #endif +#include ++#include // キャラクタコード32から、 //このソースはEUCで書かれている。 +-static char *ascii_wide_tab[]={ ++static const char *ascii_wide_tab[]={ + 0,"!","”","#","$","%","&","’", + "(",")","*","+",",","−",".","/", + "0","1","2","3","4","5","6","7", +@@ -325,9 +327,9 @@ KKContext *createKKContext(XimIC *ic) + return c; + } + +-char **getKKIcon() ++const char **getKKIcon() + { +- char **c; ++ const char **c; + c = NULL; + if (current_conv) { + c = current_conv->getIcon (); +@@ -338,7 +340,7 @@ char **getKKIcon() + // tool barの仮名漢字変換のボタンが押された。 + void onPushIcon() + { +- char **c=0; ++ const char **c=0; + if (current_conv) { + c = current_conv->getIcon (); + if (c) { Copied: branches/2018Q4/japanese/jmode/files/patch-src_kkconv.h (from r483145, head/japanese/jmode/files/patch-src_kkconv.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_kkconv.h Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_kkconv.h) @@ -0,0 +1,20 @@ +--- src/kkconv.h.orig 2018-02-10 10:12:06 UTC ++++ src/kkconv.h +@@ -82,7 +82,7 @@ protected: + class XimIC; + class KKConv { + public: +- virtual char **getIcon()=0; ++ virtual const char **getIcon()=0; + virtual void onPushIcon()=0; + virtual KKContext *createContext(XimIC *)=0; + virtual char *getModeName(int )=0; +@@ -105,7 +105,7 @@ struct Candidates { + + bool init_conv(); + KKContext *createKKContext(XimIC *); +-char **getKKIcon(); ++const char **getKKIcon(); + void onPushIcon(); + + void register_kkconv(KKConv *); Modified: branches/2018Q4/japanese/jmode/files/patch-src_main.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_main.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_main.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,6 +1,6 @@ ---- src/main.cpp.orig Sat May 3 18:46:15 2003 -+++ src/main.cpp Sat Jul 12 03:40:03 2003 -@@ -27,7 +27,7 @@ +--- src/main.cpp.orig 2003-05-03 09:46:15 UTC ++++ src/main.cpp +@@ -27,11 +27,11 @@ int host_byte_order; //文字列 #ifdef __FreeBSD__ @@ -9,3 +9,8 @@ #else #define LANG "ja_JP" #endif +-#define VERSION_NAME "jmode out of the way! Version "VERSION"\n" ++#define VERSION_NAME "jmode out of the way! Version " VERSION "\n" + char *version_name=VERSION_NAME; + char *usage= + "--help , --version :Show usage or version\n" Copied: branches/2018Q4/japanese/jmode/files/patch-src_off.xpm (from r483145, head/japanese/jmode/files/patch-src_off.xpm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_off.xpm Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_off.xpm) @@ -0,0 +1,9 @@ +--- src/off.xpm.orig 2018-02-10 09:59:01 UTC ++++ src/off.xpm +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * off_xpm[] = { ++static const char * off_xpm[] = { + "12 32 2 1", + " c None", + ". c #FFFF00", Copied: branches/2018Q4/japanese/jmode/files/patch-src_on.xpm (from r483145, head/japanese/jmode/files/patch-src_on.xpm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_on.xpm Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_on.xpm) @@ -0,0 +1,9 @@ +--- src/on.xpm.orig 2018-02-10 09:57:51 UTC ++++ src/on.xpm +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * on_xpm[] = { ++static const char * on_xpm[] = { + "12 32 3 1", + " c None", + ". c #FFFF00", Copied: branches/2018Q4/japanese/jmode/files/patch-src_skk.xpm (from r483145, head/japanese/jmode/files/patch-src_skk.xpm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_skk.xpm Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_skk.xpm) @@ -0,0 +1,9 @@ +--- src/skk.xpm.orig 2001-01-29 07:48:17 UTC ++++ src/skk.xpm +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * skk_xpm[] = { ++static const char * skk_xpm[] = { + "24 32 13 1", + " c None", + ". c #FFFFFF", Copied: branches/2018Q4/japanese/jmode/files/patch-src_skkconv.cpp (from r483145, head/japanese/jmode/files/patch-src_skkconv.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_skkconv.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_skkconv.cpp) @@ -0,0 +1,20 @@ +--- src/skkconv.cpp.orig 2002-06-15 14:35:40 UTC ++++ src/skkconv.cpp +@@ -101,7 +101,7 @@ void SKKConv::init() + bind_str_to_atom("slash", A_skk_begin_latin_conv); + } + +-char **SKKConv::getIcon() ++const char **SKKConv::getIcon() + { + return skk_xpm; + } +@@ -960,7 +960,7 @@ void SKKChildWindow::draw() + void SKKChildWindow::activate(GtkWidget *w, gpointer p) + { + SKKChildContext *c; +- int pos = (int)p; ++ int pos = (uint64_t)p; + c = get_current_context(); + if (c) { + c->stat.setMode(pos); Copied: branches/2018Q4/japanese/jmode/files/patch-src_skkconv.h (from r483145, head/japanese/jmode/files/patch-src_skkconv.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_skkconv.h Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_skkconv.h) @@ -0,0 +1,11 @@ +--- src/skkconv.h.orig 2002-06-15 14:10:40 UTC ++++ src/skkconv.h +@@ -35,7 +35,7 @@ class SKKConv : public KKConv{ + public: + virtual ~SKKConv(); + // +- char **getIcon(); ++ const char **getIcon(); + void onPushIcon(); + virtual char *getModeName(int ); + // Copied: branches/2018Q4/japanese/jmode/files/patch-src_ui.cpp (from r483145, head/japanese/jmode/files/patch-src_ui.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_ui.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_ui.cpp) @@ -0,0 +1,47 @@ +--- src/ui.cpp.orig 2018-02-10 10:03:56 UTC ++++ src/ui.cpp +@@ -100,7 +100,7 @@ public: + virtual void motion(GtkWidget *,int x,int y,int b); + private: + void create(); +- void add_icon_to_button(GtkWidget *,char **xpm); ++ void add_icon_to_button(GtkWidget *,const char **xpm); + void add_input_mode(GtkWidget *,char *,int mode); + void init_mode_menu(); + void init_buttons(); +@@ -286,7 +286,7 @@ void ToolBar::create() + gtk_widget_show(m_hbox); + gtk_widget_show(m_win); + //絵を貼る、 +- char **p; ++ const char **p; + p = getKKIcon(); + if (p) { + add_icon_to_button(kk_setting_button,p); +@@ -353,7 +353,7 @@ void ToolBar::set_mode(int s) + } + } + +-void ToolBar::add_icon_to_button(GtkWidget *button,char **xpm) ++void ToolBar::add_icon_to_button(GtkWidget *button,const char **xpm) + { + GtkStyle *style; + GdkBitmap *mask; +@@ -434,7 +434,7 @@ void ToolBar::destroy(GtkWidget *w) + + void ToolBar::activate(GtkWidget *w,gpointer p) + { +- int pos = (int)p; ++ int pos = (uint64_t)p; + gtk_widget_draw(w, NULL); + user_if->change_menu(pos); + } +@@ -581,7 +581,7 @@ GtkWidget *Indicator::get_win() + + void Indicator::draw_stat() + { +- char *m = "OFF"; ++ const char *m = "OFF"; + if (XimIC::isAnyActive()){ + m = "ON"; + } Copied: branches/2018Q4/japanese/jmode/files/patch-src_ximic.cpp (from r483145, head/japanese/jmode/files/patch-src_ximic.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/japanese/jmode/files/patch-src_ximic.cpp Thu Nov 1 18:02:47 2018 (r483693, copy of r483145, head/japanese/jmode/files/patch-src_ximic.cpp) @@ -0,0 +1,10 @@ +--- src/ximic.cpp.orig 2003-08-11 14:23:54 UTC ++++ src/ximic.cpp +@@ -7,6 +7,7 @@ + #endif + + #include ++#include + #include + #include "xim.h" + #include "convdisp.h" Modified: branches/2018Q4/japanese/jmode/files/patch-src_ximim.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_ximim.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_ximim.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,5 +1,5 @@ ---- src/ximim.cpp.orig 2014-06-28 22:13:59.000000000 +0900 -+++ src/ximim.cpp 2014-06-28 22:14:31.000000000 +0900 +--- src/ximim.cpp.orig 2003-05-16 16:07:43 UTC ++++ src/ximim.cpp @@ -15,6 +15,7 @@ # include # endif Modified: branches/2018Q4/japanese/jmode/files/patch-src_ximpacket.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_ximpacket.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_ximpacket.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,5 +1,5 @@ ---- src/ximpacket.cpp.orig 2014-06-28 22:17:36.000000000 +0900 -+++ src/ximpacket.cpp 2014-06-28 22:18:08.000000000 +0900 +--- src/ximpacket.cpp.orig 2003-02-10 15:01:26 UTC ++++ src/ximpacket.cpp @@ -3,6 +3,7 @@ #endif Modified: branches/2018Q4/japanese/jmode/files/patch-src_ximtrans.cpp ============================================================================== --- branches/2018Q4/japanese/jmode/files/patch-src_ximtrans.cpp Thu Nov 1 17:58:46 2018 (r483692) +++ branches/2018Q4/japanese/jmode/files/patch-src_ximtrans.cpp Thu Nov 1 18:02:47 2018 (r483693) @@ -1,10 +1,11 @@ ---- src/ximtrans.cpp.orig 2014-06-28 22:11:37.000000000 +0900 -+++ src/ximtrans.cpp 2014-06-28 22:11:54.000000000 +0900 -@@ -6,6 +6,7 @@ +--- src/ximtrans.cpp.orig 2003-05-27 10:54:52 UTC ++++ src/ximtrans.cpp +@@ -6,6 +6,8 @@ #endif #include +#include ++#include #include "xim.h" #ifndef __GNUC__