ports/70670: [MAINTAINER] ftp/ftpcopy: fix locale-dependent build failure

Matthias Andree matthias.andree at gmx.de
Thu Aug 19 18:00:51 UTC 2004


>Number:         70670
>Category:       ports
>Synopsis:       [MAINTAINER] ftp/ftpcopy: fix locale-dependent build failure
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 19 18:00:50 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Jul 27 03:49:21 CEST 2004
>Description:
Fix a locale-dependent build failure. ftpcopy doesn't compile in the
LC_COLLATE="de_DE.ISO8859-1" for instance because tr '[a-z]]' '[A-Z]'
doesn't work as expected on FreeBSD and maps "int" to "INU".

Bcc: Uwe Ohse, upstream maintainer

Added file(s):
- files/patch-aa

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

--- ftpcopy-0.6.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ftp/ftpcopy/files/patch-aa /root/ports/ftp/ftpcopy/files/patch-aa
--- /usr/ports/ftp/ftpcopy/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ /root/ports/ftp/ftpcopy/files/patch-aa	Thu Aug 19 18:34:41 2004
@@ -0,0 +1,11 @@
+--- src/typesize.sh.orig	Tue Jul 27 13:24:17 2004
++++ src/typesize.sh	Thu Aug 19 18:30:43 2004
+@@ -21,7 +21,7 @@
+ 	:
+       else
+ 	x=$?
+-	p=`echo $i | sed 's/ /_/g' | tr "[a-z]]" "[A-Z]"`
++	p=`echo $i | sed 's/ /_/g' | env LC_COLLATE=C tr "[:lower:]" "[:upper:]"`
+ 	echo "#define SIZEOF_$p $x /* systype-info */"
+       fi
+     fi
--- ftpcopy-0.6.7.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list