From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 26 16:30:10 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8DC11065674 for ; Mon, 26 Jan 2009 16:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A069D8FC24 for ; Mon, 26 Jan 2009 16:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0QGUAF0068108 for ; Mon, 26 Jan 2009 16:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0QGUAVP068105; Mon, 26 Jan 2009 16:30:10 GMT (envelope-from gnats) Resent-Date: Mon, 26 Jan 2009 16:30:10 GMT Resent-Message-Id: <200901261630.n0QGUAVP068105@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hirohisa Yamaguchi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B0F106566C for ; Mon, 26 Jan 2009 16:24:54 +0000 (UTC) (envelope-from umq@ueo.co.jp) Received: from msa02b.plala.or.jp (msa02.plala.or.jp [58.93.240.2]) by mx1.freebsd.org (Postfix) with ESMTP id B45448FC19 for ; Mon, 26 Jan 2009 16:24:52 +0000 (UTC) (envelope-from umq@ueo.co.jp) Received: from terpsichore.kaumoge.org ([125.205.3.93]) by msa02b.plala.or.jp with ESMTP id <20090126162451.EUAA14265.msa02b.plala.or.jp@terpsichore.kaumoge.org> for ; Tue, 27 Jan 2009 01:24:51 +0900 Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.24.120]) by terpsichore.kaumoge.org (8.14.3/8.14.2/20080818) with ESMTP id n0QGOnuB068515 for ; Tue, 27 Jan 2009 01:24:49 +0900 (JST) (envelope-from umq@ueo.co.jp) Message-Id: <863af6ox0u.wl%umq@ueo.co.jp> Date: Tue, 27 Jan 2009 01:24:49 +0900 From: Hirohisa Yamaguchi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/131014: [patch] textproc/uim update to 1.5.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 16:30:11 -0000 >Number: 131014 >Category: ports >Synopsis: [patch] textproc/uim update to 1.5.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 26 16:30:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hirohisa Yamaguchi >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD calliope.****.org 8.0-CURRENT FreeBSD 8.0-CURRENT #17: Thu Jul 10 06:27:38 JST 2008 root@calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64 >Description: The new version of textproc/uim 1.5.5 has been released. Release notes: http://uim.googlecode.com/svn/tags/uim-1.5.5/RELNOTE >How-To-Repeat: N/A >Fix: the patch follows: diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/Makefile ports/textproc/uim/Makefile --- ports.orig/textproc/uim/Makefile 2009-01-27 01:16:36.000000000 +0900 +++ ports/textproc/uim/Makefile 2009-01-26 02:16:22.000000000 +0900 @@ -6,10 +6,9 @@ # PORTNAME= uim -PORTVERSION= 1.5.4 +PORTVERSION= 1.5.5 CATEGORIES?= textproc MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} - .if !defined(UIM_SLAVE) && defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 .endif @@ -17,6 +16,7 @@ PKGNAMESUFFIX= -nox11 MAINTAINER= nobutaka@FreeBSD.org COMMENT?= Input method library +USE_BZIP2= yes USE_LDCONFIG= yes WANT_GNOME= yes USE_GNOME+= gnometarget glib20 @@ -61,6 +61,10 @@ PLIST_SUB+= X11="" .include +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" +CONFIGURE_ARGS+= --enable-storage=fatty +.endif + .for _x in x xft gtk2 qt anthy canna m17nlib prime scim dict .if ${CONFIGURE_ARGS:M--with-${_x}} == "" CONFIGURE_ARGS+=--without-${_x} diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/distinfo ports/textproc/uim/distinfo --- ports.orig/textproc/uim/distinfo 2009-01-27 01:16:37.000000000 +0900 +++ ports/textproc/uim/distinfo 2009-01-22 22:08:31.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (uim-1.5.4.tar.gz) = 0dffa9d8fd7ba4804c8791f66ad0ebdf -SHA256 (uim-1.5.4.tar.gz) = ef08cafe5b4c313c347d9464792481ad0358250e31d32f05d01fe43183dd2441 -SIZE (uim-1.5.4.tar.gz) = 4308663 +MD5 (uim-1.5.5.tar.bz2) = b7403fa4ae78229f31ca49df283502da +SHA256 (uim-1.5.5.tar.bz2) = b5be3e3651234a442723d8ae4c15219520dac1cab087c62958d0ba8dd0fff43d +SIZE (uim-1.5.5.tar.bz2) = 3259238 diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/files/patch-sigscheme_libgcroots_include_private_gcconfig.h ports/textproc/uim/files/patch-sigscheme_libgcroots_include_private_gcconfig.h --- ports.orig/textproc/uim/files/patch-sigscheme_libgcroots_include_private_gcconfig.h 2009-01-27 01:16:37.000000000 +0900 +++ ports/textproc/uim/files/patch-sigscheme_libgcroots_include_private_gcconfig.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,13 +0,0 @@ ---- sigscheme/libgcroots/include/private/gcconfig.h.orig 2007-01-06 12:00:59.000000000 +0900 -+++ sigscheme/libgcroots/include/private/gcconfig.h 2007-11-04 18:15:32.000000000 +0900 -@@ -320,6 +320,10 @@ - # define I386 - # define mach_type_known - # endif -+# if defined(FREEBSD) && (defined(__amd64__)) -+# define X86_64 -+# define mach_type_known -+# endif - # if defined(__NetBSD__) && (defined(i386) || defined(__i386__)) - # define I386 - # define mach_type_known diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/files/patch-uim_bsdlook.c ports/textproc/uim/files/patch-uim_bsdlook.c --- ports.orig/textproc/uim/files/patch-uim_bsdlook.c 1970-01-01 09:00:00.000000000 +0900 +++ ports/textproc/uim/files/patch-uim_bsdlook.c 2009-01-23 03:01:34.000000000 +0900 @@ -0,0 +1,11 @@ +--- ./uim/bsdlook.c.orig 2009-01-06 15:42:58.000000000 +0900 ++++ ./uim/bsdlook.c 2009-01-23 03:01:10.000000000 +0900 +@@ -166,7 +166,7 @@ + if (!ctx) + return; + +- if (ctx->front0 > 0 && munmap(ctx->front0, ctx->len) == -1) ++ if (!ctx->front0 && munmap(ctx->front0, ctx->len) == -1) + perror("uim_look_finish"); + + if (ctx->fd > 0) diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/files/patch-uim_uim.c ports/textproc/uim/files/patch-uim_uim.c --- ports.orig/textproc/uim/files/patch-uim_uim.c 1970-01-01 09:00:00.000000000 +0900 +++ ports/textproc/uim/files/patch-uim_uim.c 2009-01-24 12:03:59.000000000 +0900 @@ -0,0 +1,24 @@ +--- uim/uim.c.orig 2008-04-29 10:39:34.000000000 +0900 ++++ uim/uim.c 2009-01-24 10:11:56.000000000 +0900 +@@ -90,10 +90,10 @@ fatal_error_hook(void) + uim_fatal_error("an unhandled error raised from Scheme interpreter"); + } + +-int ++long + uim_init(void) + { +- int ret; ++ long ret; + char *sys_load_path; + + if (uim_initialized) +@@ -108,7 +108,7 @@ uim_init(void) + uim_scm_init(sys_load_path); + uim_scm_set_fatal_error_hook(fatal_error_hook); + +- ret = (int)uim_scm_call_with_gc_ready_stack((uim_gc_gate_func_ptr)uim_init_internal, NULL); ++ ret = (long)uim_scm_call_with_gc_ready_stack((uim_gc_gate_func_ptr)uim_init_internal, NULL); + + UIM_CATCH_ERROR_END(); + diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/files/patch-uim_uim.h ports/textproc/uim/files/patch-uim_uim.h --- ports.orig/textproc/uim/files/patch-uim_uim.h 1970-01-01 09:00:00.000000000 +0900 +++ ports/textproc/uim/files/patch-uim_uim.h 2009-01-24 12:03:59.000000000 +0900 @@ -0,0 +1,11 @@ +--- uim/uim.h.orig 2008-09-07 23:05:06.000000000 +0900 ++++ uim/uim.h 2009-01-24 11:20:11.000000000 +0900 +@@ -431,7 +431,7 @@ struct uim_code_converter { + * + * @return 0 on success, otherwise -1 + */ +-int ++long + uim_init(void); + + /** diff -Nrpu --exclude=CVS --exclude=work ports.orig/textproc/uim/files/patch-xim_convdisp.cpp ports/textproc/uim/files/patch-xim_convdisp.cpp --- ports.orig/textproc/uim/files/patch-xim_convdisp.cpp 1970-01-01 09:00:00.000000000 +0900 +++ ports/textproc/uim/files/patch-xim_convdisp.cpp 2009-01-23 03:00:20.000000000 +0900 @@ -0,0 +1,46 @@ +--- ./xim/convdisp.cpp.orig 2009-01-21 11:16:35.000000000 +0900 ++++ ./xim/convdisp.cpp 2009-01-23 02:41:58.000000000 +0900 +@@ -87,14 +87,14 @@ + gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy), + XFT_FAMILY, XftTypeString, fontname, + XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE, +- NULL); ++ (char *)NULL); + gXftFontLocale = strdup(setlocale(LC_CTYPE, NULL)); + // maybe not needed, but in case it return NULL... + if (!gXftFont) { + gXftFont = XftFontOpen(XimServer::gDpy, DefaultScreen(XimServer::gDpy), + XFT_FAMILY, XftTypeString, "Sans", + XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE, +- NULL); ++ (char *)NULL); + } + } + +@@ -112,7 +112,7 @@ + DefaultScreen(XimServer::gDpy), + XFT_FAMILY, XftTypeString, fontname, + XFT_PIXEL_SIZE, XftTypeDouble, (double)DEFAULT_FONT_SIZE, +- NULL); ++ (char *)NULL); + if (xftfont) { + if (gXftFont) + XftFontClose(XimServer::gDpy, gXftFont); +@@ -387,7 +387,7 @@ + DefaultScreen(XimServer::gDpy), + XFT_FAMILY, XftTypeString, gXftFontName, + XFT_PIXEL_SIZE, XftTypeDouble, (double)mXftFontSize, +- NULL); ++ (char *)NULL); + } + mXftDraw = XftDrawCreate(XimServer::gDpy, mPixmap, + DefaultVisual(XimServer::gDpy, scr_num), +@@ -557,7 +557,7 @@ + DefaultScreen(XimServer::gDpy), + XFT_FAMILY, XftTypeString, gXftFontName, + XFT_PIXEL_SIZE, XftTypeDouble, (double)size, +- NULL); ++ (char *)NULL); + mXftFontSize = size; + } + } >Release-Note: >Audit-Trail: >Unformatted: