ports/104327: [PATCH] chinese/zh-tw-mldonkey-core: unbreak

Rong-En Fan rafan at FreeBSD.org
Thu Oct 12 09:00:31 UTC 2006


>Number:         104327
>Category:       ports
>Synopsis:       [PATCH] chinese/zh-tw-mldonkey-core: unbreak
>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:   Thu Oct 12 09:00:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Unbreak by updating the patch file
- Pet portlint(1)

Port maintainer (piaip at csie.ntu.edu.tw) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- zh-tw-mldonkey-core-2.8.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/chinese/mldonkey-core/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	12 Oct 2006 03:43:30 -0000	1.6
+++ Makefile	12 Oct 2006 08:52:48 -0000
@@ -13,14 +13,12 @@
 MAINTAINER=	piaip at csie.ntu.edu.tw
 COMMENT=	Client 'core' for MLDonkey with Traditional Chinese (Big5) support
 
-BROKEN=		Fails to patch
-
 WITHOUT_GUI=	yes
 MASTERDIR=	${.CURDIR}/../../net-p2p/mldonkey
 EXTRA_PATCHES=	${.CURDIR}/files/patch-driverControlers.ml
 
-WRAPPERPREFIX=  ${.CURDIR}/files/wrapper-prefix
-WRAPPER= 	${WRKDIR}/wrapper.sh
+WRAPPERPREFIX=	${.CURDIR}/files/wrapper-prefix
+WRAPPER=	${WRKDIR}/wrapper.sh
 
 # build our own wrapper script
 post-patch-script:
@@ -31,4 +29,4 @@
 
 # I know this will lead portlint to fail,
 # but we have to do so.
-PKGNAMEPREFIX:= ${PKGNAMEPREFIX}tw-
+PKGNAMEPREFIX:=	${PKGNAMEPREFIX}tw-
Index: files/patch-driverControlers.ml
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/chinese/mldonkey-core/files/patch-driverControlers.ml,v
retrieving revision 1.4
diff -u -u -r1.4 patch-driverControlers.ml
--- files/patch-driverControlers.ml	7 Oct 2005 06:36:59 -0000	1.4
+++ files/patch-driverControlers.ml	12 Oct 2006 08:52:48 -0000
@@ -5,8 +5,8 @@
  
  
 +let iac_will_8bit = "\255\253\000"  
- let iac_will_naws = "\255\253\031"  
-   
+ let iac_will_naws = "\255\253\031"
+ 
  let user_reader o telnet sock nread  = 
 @@ -348,7 +349,7 @@
        
@@ -14,7 +14,7 @@
        telnet.telnet_iac <- false;
 -      let is_normal_char = i > 31 && i < 127 in
 +      let is_normal_char = i > 31 (*&& i < 127*) in
-       
+ 
        if telnet.telnet_wait = 1 then begin
            Buffer.add_char telnet.telnet_buffer c;
 @@ -469,6 +470,7 @@
--- zh-tw-mldonkey-core-2.8.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list