diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-30 17:29:25 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-30 17:29:25 +0000 |
commit | 83199ff5ba19b4c9b915b9a0448614498a0a7397 (patch) | |
tree | d16b9caa6ecedac28eb222591e1654ff08f6cffb /chinese | |
parent | c335acf582e7fcc26c3ac843054fcb37d24b9df1 (diff) | |
download | ports-83199ff5ba19b4c9b915b9a0448614498a0a7397.tar.gz ports-83199ff5ba19b4c9b915b9a0448614498a0a7397.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/mldonkey-core/Makefile | 2 | ||||
-rw-r--r-- | chinese/mldonkey-core/files/patch-driverControlers.ml | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/chinese/mldonkey-core/Makefile b/chinese/mldonkey-core/Makefile index 3926a3c167ea..c4ab3152e175 100644 --- a/chinese/mldonkey-core/Makefile +++ b/chinese/mldonkey-core/Makefile @@ -13,8 +13,6 @@ CATEGORIES= chinese MAINTAINER= piaip@csie.ntu.edu.tw COMMENT= Client 'core' for MLDonkey with Traditional Chinese (Big5) support -BROKEN= "does not patch" - WITHOUT_GUI= yes MASTERDIR= ${.CURDIR}/../../net/mldonkey EXTRA_PATCHES= ${.CURDIR}/files/patch-driverControlers.ml diff --git a/chinese/mldonkey-core/files/patch-driverControlers.ml b/chinese/mldonkey-core/files/patch-driverControlers.ml index 8a0e9db02399..93fc3848be5d 100644 --- a/chinese/mldonkey-core/files/patch-driverControlers.ml +++ b/chinese/mldonkey-core/files/patch-driverControlers.ml @@ -1,5 +1,5 @@ ---- src/daemon/driver/driverControlers.ml.orig Sun Mar 7 17:44:13 2004 -+++ src/daemon/driver/driverControlers.ml Tue Mar 23 11:31:09 2004 +--- src/daemon/driver/driverControlers.ml.orig Thu Aug 19 15:56:53 2004 ++++ src/daemon/driver/driverControlers.ml Thu Jun 30 19:25:24 2005 @@ -319,6 +319,7 @@ } @@ -25,22 +25,24 @@ TcpBufferedSocket.write_string sock iac_will_naws; before_telnet_output o sock; -@@ -602,15 +604,15 @@ +@@ -608,17 +610,17 @@ let http_add_html_header r = http_add_gen_header r; add_reply_header r "Pragma" "no-cache"; -- add_reply_header r "Content-Type" "text/html; charset=iso-8859-1" -+ add_reply_header r "Content-Type" "text/html; charset=big5" +- add_reply_header r "Content-Type" "text/html; charset=iso-8859-1"; ++ add_reply_header r "Content-Type" "text/html; charset=big5"; + add_gzip_headers r let http_add_css_header r = http_add_gen_header r; -- add_reply_header r "Content-Type" "text/css; charset=iso-8859-1" -+ add_reply_header r "Content-Type" "text/css; charset=big5" +- add_reply_header r "Content-Type" "text/css; charset=iso-8859-1"; ++ add_reply_header r "Content-Type" "text/css; charset=big5"; + add_gzip_headers r let http_add_js_header r = http_add_gen_header r; -- add_reply_header r "Content-Type" "text/javascript; charset=iso-8859-1" -+ add_reply_header r "Content-Type" "text/javascript; charset=big5" +- add_reply_header r "Content-Type" "text/javascript; charset=iso-8859-1"; ++ add_reply_header r "Content-Type" "text/javascript; charset=big5"; + add_gzip_headers r let any_ip = Ip.of_inet_addr Unix.inet_addr_any - |