Bug 69430 - [PATCH] databases/firebird: patch to fix broken build
Summary: [PATCH] databases/firebird: patch to fix broken build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 13:40 UTC by Renato Botelho
Modified: 2004-07-24 18:00 UTC (History)
1 user (show)

See Also:


Attachments
firebird-1.5.1_1.patch (1.13 KB, patch)
2004-07-22 13:40 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho 2004-07-22 13:40:22 UTC
- Patch to fix an error on generation of fcns.h, it´s broke build.
- BUMP PORTREVISION

Port maintainer (chris@e-easy.com.au) is cc'd.

Generated with FreeBSD Port Tools 0.50
Comment 1 Chris Knight 2004-07-23 05:31:58 UTC
Howdy,

tr in 5.2.1 and 5-CURRENT is buggy when LANG is set to some of
the different ISO8859-x locales and using '[a-z]' '[A-Z]'
transliteration. 'a-z' 'A-Z' and '[:lower:]' '[:upper:]'
transliteration work as expected.
Please commit the above patch without the PORTREVISION changes.
Thanks!

Regards,
Chris Knight
Systems Administrator
E-Easy
Tel: +61 3 6334 9995  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.e-easy.com.au
Comment 2 Chris Knight 2004-07-23 08:25:53 UTC
Howdy,

Sorry, on further investigation, the correct patch to be committed
should be the following. This will perform the correct transliteration
regardless of locale. A pity that the 'a-z' 'A-Z' semantic of lower
to upper doesn't work any more :-(

Regards,
Chris Knight

Index: files/patch-src::extern::editline::makelist
===================================================================
RCS file: files/patch-src::extern::editline::makelist
diff -N files/patch-src::extern::editline::makelist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src::extern::editline::makelist	23 Jul 2004 07:13:00 -0000
@@ -0,0 +1,11 @@
+--- src/extern/editline/makelist.orig	Mon May 24 04:24:25 2004
++++ src/extern/editline/makelist	Fri Jul 23 17:09:43 2004
+@@ -145,7 +145,7 @@
+ #
+ -fh)
+     cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
+-    sort | tr '[a-z]' '[A-Z]' | $AWK '
++    sort | tr '[:lower:]' '[:upper:]' | $AWK '
+ 	BEGIN {
+ 	    printf("/* Automatically generated file, do not edit */\n");
+ 	    printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-24 18:00:40 UTC
State Changed
From-To: open->closed

Committed, thanks!