Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 18:42:19 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70670: [MAINTAINER] ftp/ftpcopy: fix locale-dependent build failure
Message-ID:  <20040819164219.8B8A21B252@merlin.emma.line.org>
Resent-Message-ID: <200408191800.i7JI0pGj036134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819164219.8B8A21B252>