FreeBSD Bugzilla – Attachment 44805 Details for
Bug 69251
[PATCH] chinese/xsim does not compile with coming GCC 3.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-xsim
patch-xsim (text/plain), 2.20 KB, created by
Jie Gao
on 2004-07-18 23:10:17 UTC
(
hide
)
Description:
patch-xsim
Filename:
MIME Type:
Creator:
Jie Gao
Created:
2004-07-18 23:10:17 UTC
Size:
2.20 KB
patch
obsolete
>diff -ruN xsim.old/Makefile xsim/Makefile >--- xsim.old/Makefile Sun Jul 18 14:38:25 2004 >+++ xsim/Makefile Sun Jul 18 15:52:46 2004 >@@ -16,12 +16,12 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= A simple and fast GBK Chinese XIM server > >-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 >+LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 > > USE_REINPLACE= yes > USE_XLIB= yes > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --with-cn-locale=EUC >+CONFIGURE_ARGS= --with-cn-locale=eucCN > > .include <bsd.port.pre.mk> > >@@ -34,9 +34,14 @@ > ${WRKSRC}/xsim/IMdkit/IMConn.c > @${FIND} ${WRKSRC} -name xsimrc.in -or -name Makefile.in | ${XARGS} \ > ${REINPLACE_CMD} -Ee 's,@prefix@/(plugins|dat|bin),${DATADIR}/\1,g' >+ @${FIND} ${WRKSRC} ! -type d \ >+ -exec ${GREP} -q _CPP_BITS_IOSBASE_H '{}' \; \ >+ -exec ${REINPLACE_CMD} 's/#ifdef _CPP_BITS_IOSBASE_H/#if defined(_IOS_BASE_H) || defined(_CPP_BITS_IOSBASE_H)/g' '{}' \; >+ @${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure > > post-install: >- @${LN} -s ${DATADIR}/bin/xsim ${PREFIX}/bin/xsim >+ @${SED} "s|%%PREFIX%%|${PREFIX}|g" <${FILESDIR}/xsim.sh \ >+ >${PREFIX}/bin/xsim && ${CHMOD} 555 ${PREFIX}/bin/xsim > @${MKDIR} ${DATADIR}/dat > @${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat > @${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE} >diff -ruN xsim.old/files/xsim.sh xsim/files/xsim.sh >--- xsim.old/files/xsim.sh Wed Dec 31 17:00:00 1969 >+++ xsim/files/xsim.sh Sun Jul 18 15:32:37 2004 >@@ -0,0 +1,13 @@ >+#!/bin/sh >+ >+# Install user settings directory if it does not exist >+if [ ! -d ${HOME}/.xsim ] >+then >+ mkdir ${HOME}/.xsim >+ cp %%PREFIX%%/share/xsim/dat/* ${HOME}/.xsim/ >+ sed "/^DICT_LOCAL/s|%%PREFIX%%/share/xsim/dat|${HOME}/.xsim|g" \ >+ %%PREFIX%%/etc/xsimrc > ${HOME}/.xsim/xsimrc >+fi >+ >+# Start xsim >+exec %%PREFIX%%/share/xsim/bin/xsim $* >diff -ruN xsim.old/pkg-message xsim/pkg-message >--- xsim.old/pkg-message Sun Jul 18 14:38:25 2004 >+++ xsim/pkg-message Sun Jul 18 15:34:00 2004 >@@ -12,5 +12,5 @@ > Remember to set environment varible XMODIFIERS: > csh/tcsh: setenv XMODIFIERS @im=XSIM > sh/bash: export XMODIFIERS='@im=XSIM' >-and set LANG, LC_CTYPE to zh_CN.EUC. >+and set LANG, LC_CTYPE to zh_CN.eucCN. > -------------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69251
: 44805