FreeBSD Bugzilla – Attachment 36241 Details for
Bug 58181
New port: chinese/wenju
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.42 KB, created by
statue
on 2003-10-18 05:20:17 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
statue
Created:
2003-10-18 05:20:17 UTC
Size:
5.42 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># wenju/ ># wenju/Makefile ># wenju/distinfo ># wenju/files ># wenju/pkg-descr ># wenju/pkg-plist ># wenju/files/patch-configure ># wenju/files/patch-src::tim::timtable.c ># wenju/files/patch-src::wrap::wrap.c ># wenju/files/patch-tests::Makefile.in ># wenju/files/patch-tests::wenju.c ># >echo c - wenju/ >mkdir -p wenju/ > /dev/null 2>&1 >echo x - wenju/Makefile >sed 's/^X//' >wenju/Makefile << 'END-of-wenju/Makefile' >X# New ports collection makefile for: wenju >X# Date created: 18 Oct 2003 >X# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= wenju >XPORTVERSION= 1.0 >XCATEGORIES= chinese >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= wenju >X >XMAINTAINER= statue@freebsd.sinica.edu.tw >XCOMMENT= Collection of writing tools in Chinese >X >XUSE_GNOME= gtk20 >XHAS_CONFIGURE= yes >XCONFIGURE_ARGS+= --prefix=${PREFIX} >XUSE_X_PREFIX= yes >XINSTALLS_SHLIB= yes >XUSE_GETOPT_LONG= yes >XUSE_LIBTOOL= yes >X >Xpost-install: >X gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules >X >X.include <bsd.port.mk> >END-of-wenju/Makefile >echo x - wenju/distinfo >sed 's/^X//' >wenju/distinfo << 'END-of-wenju/distinfo' >XMD5 (wenju-1.0.tar.gz) = 96a0f1b89837a96857872975515c083d >END-of-wenju/distinfo >echo c - wenju/files >mkdir -p wenju/files > /dev/null 2>&1 >echo x - wenju/pkg-descr >sed 's/^X//' >wenju/pkg-descr << 'END-of-wenju/pkg-descr' >XA collection of writing tools (wenju in Chinese pinyin) such as input >Xmethod, text file formatter, etc. All the tools are based on Unicode. >X >XWWW: http://sourceforge.net/projects/wenju/ >END-of-wenju/pkg-descr >echo x - wenju/pkg-plist >sed 's/^X//' >wenju/pkg-plist << 'END-of-wenju/pkg-plist' >Xbin/tim-config >Xbin/wrap >Xlib/gtk-2.0/2.2.0/immodules/im-tim.la >Xlib/gtk-2.0/2.2.0/immodules/im-tim.so >Xshare/wenju/pinyin-p.tim >Xshare/wenju/pinyin.tim >Xshare/wenju/wubi.tim >Xshare/wenju/wubihua-n.tim >Xshare/wenju/erbi.tim >Xshare/wenju/qfrench.tim >X@dirrm share/wenju/ >X@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules >X@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules >END-of-wenju/pkg-plist >echo x - wenju/files/patch-configure >sed 's/^X//' >wenju/files/patch-configure << 'END-of-wenju/files/patch-configure' >X--- configure.orig Sat Oct 18 04:38:19 2003 >X+++ configure Sat Oct 18 04:38:42 2003 >X@@ -7889,7 +7889,7 @@ >X >X >X GTK2_CFLAGS="`pkg-config --cflags gtk+-2.0`" >X-GTK2_LIBS="`pkg-config --libs gtk+-2.0`" >X+GTK2_LIBS="`pkg-config --libs gtk+-2.0` -lgnugetopt" >X GTK2_BINARY_VERSION="`pkg-config --variable=gtk_binary_version gtk+-2.0`" >X >X >END-of-wenju/files/patch-configure >echo x - wenju/files/patch-src::tim::timtable.c >sed 's/^X//' >wenju/files/patch-src::tim::timtable.c << 'END-of-wenju/files/patch-src::tim::timtable.c' >X--- src/tim/timtable.c.orig Sat Oct 18 05:34:57 2003 >X+++ src/tim/timtable.c Sat Oct 18 05:35:14 2003 >X@@ -86,7 +86,7 @@ >X >X line = (char *)malloc(n*sizeof(char));; >X /* getline() is a GNU externsion */ >X- while ((l = getline(&line, &n, fp)) > 0) { >X+ while ((l = fgets(line, n, fp)) > 0) { >X l = preprocess_line(line, l); >X if (l > 0) { >X char *p; >X@@ -189,7 +189,7 @@ >X >X line = (char *)malloc(n*sizeof(char));; >X /* getline() is a GNU externsion */ >X- while ((l = getline(&line, &n, fp)) > 0) { >X+ while ((l = fgets(line, n, fp)) > 0) { >X l = preprocess_line(line, l); >X if (l > 0) { >X char *p; >END-of-wenju/files/patch-src::tim::timtable.c >echo x - wenju/files/patch-src::wrap::wrap.c >sed 's/^X//' >wenju/files/patch-src::wrap::wrap.c << 'END-of-wenju/files/patch-src::wrap::wrap.c' >X--- src/wrap/wrap.c.orig Sat Oct 18 05:37:16 2003 >X+++ src/wrap/wrap.c Sat Oct 18 05:36:19 2003 >X@@ -293,7 +293,7 @@ >X size = 0; >X p = NULL; >X /* Read in an input line. */ >X- while ((length = getline(&p, &size, fp)) > 0) { >X+ while ((length = fgets(p, size, fp)) > 0) { >X if (p[0] == '\n') { >X /* An empty line signals the end of the paragraph. */ >X if (strcmp(text->str, "\n") == 0) { >END-of-wenju/files/patch-src::wrap::wrap.c >echo x - wenju/files/patch-tests::Makefile.in >sed 's/^X//' >wenju/files/patch-tests::Makefile.in << 'END-of-wenju/files/patch-tests::Makefile.in' >X--- tests/Makefile.in.orig Sat Oct 18 05:18:58 2003 >X+++ tests/Makefile.in Sat Oct 18 05:19:06 2003 >X@@ -116,7 +116,7 @@ >X noinst_PROGRAMS = wenju >X >X wenju_SOURCES = wenju.c >X-wenju_LDADD = -lrt >X+wenju_LDADD = #-lrt >X subdir = tests >X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs >X CONFIG_HEADER = $(top_builddir)/config.h >END-of-wenju/files/patch-tests::Makefile.in >echo x - wenju/files/patch-tests::wenju.c >sed 's/^X//' >wenju/files/patch-tests::wenju.c << 'END-of-wenju/files/patch-tests::wenju.c' >X--- tests/wenju.c.orig Sat Oct 18 05:17:33 2003 >X+++ tests/wenju.c Sat Oct 18 05:17:44 2003 >X@@ -23,8 +23,8 @@ >X >X int main(int argc, char *argv[]) >X { >X- setlocale(LC_ALL, ""); >X #ifdef ENABLE_NLS >X+ setlocale(LC_ALL, ""); >X bindtextdomain(PACKAGE, LOCALEDIR); >X #ifdef HAVE_BIND_TEXTDOMAIN_CODESET >X bind_textdomain_codeset(PACKAGE, "UTF-8"); >END-of-wenju/files/patch-tests::wenju.c >exit
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 58181
: 36241