FreeBSD Bugzilla – Attachment 36161 Details for
Bug 58084
[maintainer-update] update ports/chinese/autoconvert to fix build on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.74 KB, created by
Ying-Chieh Chen
on 2003-10-15 18:10:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ying-Chieh Chen
Created:
2003-10-15 18:10:07 UTC
Size:
1.74 KB
patch
obsolete
>diff -ruN /usr/ports/chinese/autoconvert/Makefile autoconvert/Makefile >--- /usr/ports/chinese/autoconvert/Makefile Mon Oct 6 18:35:23 2003 >+++ autoconvert/Makefile Thu Oct 16 00:57:26 2003 >@@ -15,7 +15,7 @@ > > USE_REINPLACE= yes > USE_GETOPT_LONG= yes >-CFLAGS+= "${CPPFLAGS}" >+CFLAGS+= ${CPPFLAGS} > MAKE_ENV= CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}" > INSTALLS_SHLIB= yes > DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} >diff -ruN /usr/ports/chinese/autoconvert/files/patch-autogb.c autoconvert/files/patch-autogb.c >--- /usr/ports/chinese/autoconvert/files/patch-autogb.c Thu Jan 1 08:00:00 1970 >+++ autoconvert/files/patch-autogb.c Thu Oct 16 00:57:26 2003 >@@ -0,0 +1,26 @@ >+--- autogb.c.orig Mon Apr 23 22:18:06 2001 >++++ autogb.c Wed Oct 15 17:28:48 2003 >+@@ -34,15 +34,14 @@ >+ void print_help(char* filename){ >+ printf("\nUsage: %s [-OPTION] < input > output\n", filename); >+ puts( >+-"Now autoconvert can only judge gb/big5/hz encoding, so if you want to >+-do other conversion, you must set the option --input. Without --input, >+-the program will guess the encoding of the input. >+-OPTION is one of (case insensitive): >+- -i encoding, --input encoding: Set the input encoding >+- -o encoding, --output encoding: Set the output encoding >+- >+- The encoding should be gb, big5, hz, uni, utf7 or utf8. >+- "); >++"Now autoconvert can only judge gb/big5/hz encoding, so if you want to " >++"do other conversion, you must set the option --input. Without --input," >++"the program will guess the encoding of the input." >++"OPTION is one of (case insensitive):" >++" -i encoding, --input encoding: Set the input encoding" >++" -o encoding, --output encoding: Set the output encoding" >++" The encoding should be gb, big5, hz, uni, utf7 or utf8." >++" "); >+ >+ exit(0); >+ }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58084
: 36161