From matthias.andree@web.de  Thu Aug 19 17:58:40 2004
Return-Path: <matthias.andree@web.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 70DDD16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Aug 2004 17:58:40 +0000 (GMT)
Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BAFAE43D67
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Aug 2004 17:58:39 +0000 (GMT)
	(envelope-from matthias.andree@web.de)
Received: from m2a2.myip.org (v8ejy9atqym4c5kz@p5487C434.dip.t-dialin.net [84.135.196.52])
	(authenticated bits=0)
	by unimail.uni-dortmund.de (8.13.0/8.13.0) with ESMTP id i7JHwRlq026825;
	Thu, 19 Aug 2004 19:58:32 +0200 (CEST)
Received: by merlin.emma.line.org (Postfix, from userid 1001)
	id 8B8A21B252; Thu, 19 Aug 2004 18:42:19 +0200 (CEST)
Message-Id: <20040819164219.8B8A21B252@merlin.emma.line.org>
Date: Thu, 19 Aug 2004 18:42:19 +0200 (CEST)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [MAINTAINER] ftp/ftpcopy: fix locale-dependent build failure
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70670
>Category:       ports
>Synopsis:       [MAINTAINER] ftp/ftpcopy: fix locale-dependent build failure
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 19 18:00:50 GMT 2004
>Closed-Date:    Thu Aug 19 19:07:38 GMT 2004
>Last-Modified:  Thu Aug 19 19:07:38 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Thu Aug 19 19:07:26 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70670 
>Unformatted:
