From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 1 17:40:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64A1716A477 for ; Mon, 1 Oct 2007 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D15113C474 for ; Mon, 1 Oct 2007 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l91He1nZ087339 for ; Mon, 1 Oct 2007 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l91He1NR087338; Mon, 1 Oct 2007 17:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 1 Oct 2007 17:40:01 GMT Resent-Message-Id: <200710011740.l91He1NR087338@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Janos Mohacsi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6846216A417 for ; Mon, 1 Oct 2007 17:31:25 +0000 (UTC) (envelope-from mohacsi@scone.ki.iif.hu) Received: from scone.ki.iif.hu (scone.ki.iif.hu [IPv6:2001:738:0:401:20f:1fff:fea4:ba0a]) by mx1.freebsd.org (Postfix) with ESMTP id 0E79813C45D for ; Mon, 1 Oct 2007 17:31:24 +0000 (UTC) (envelope-from mohacsi@scone.ki.iif.hu) Received: from scone.ki.iif.hu (localhost [127.0.0.1]) by scone.ki.iif.hu (8.14.1/8.14.1) with ESMTP id l91HTLvm057292 for ; Mon, 1 Oct 2007 19:29:21 +0200 (CEST) (envelope-from mohacsi@scone.ki.iif.hu) Received: (from mohacsi@localhost) by scone.ki.iif.hu (8.14.1/8.14.1/Submit) id l91HTKSV057291; Mon, 1 Oct 2007 19:29:20 +0200 (CEST) (envelope-from mohacsi) Message-Id: <200710011729.l91HTKSV057291@scone.ki.iif.hu> Date: Mon, 1 Oct 2007 19:29:20 +0200 (CEST) From: Janos Mohacsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/116790: [MAINTAINER] hungarian/hu-ispell: [fixing linuxism] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 17:40:02 -0000 >Number: 116790 >Category: ports >Synopsis: [MAINTAINER] hungarian/hu-ispell: [fixing linuxism] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 01 17:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 7.0-CURRENT i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 27 18:22:17 CEST 2007 >Description: fixing utf-8 handling bug. Thanks ot Gabor Zahemszky fixing other bash specific fuctions. Added file(s): - files/patch-bin_felvesz Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- hu-ispell-1.2.1_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/Makefile /usr/ports/hungarian/ispell/Makefile --- /usr/ports/hungarian/ispell.orig/Makefile 2007-10-01 12:56:11.000000000 +0200 +++ /usr/ports/hungarian/ispell/Makefile 2007-10-01 19:22:35.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ispell PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= hungarian textproc #MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/files/patch-bin_felvesz /usr/ports/hungarian/ispell/files/patch-bin_felvesz --- /usr/ports/hungarian/ispell.orig/files/patch-bin_felvesz 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/hungarian/ispell/files/patch-bin_felvesz 2007-10-01 19:25:47.000000000 +0200 @@ -0,0 +1,11 @@ + +$FreeBSD$ + +--- bin/felvesz.orig ++++ bin/felvesz +@@ -8,4 +8,4 @@ + Megjegyzés: a magyarispell*/ könyvtárból indítva működik. + Kilépés: Ctrl-c" + echo "Az új szó?" +-function latin() { echo "$1" | iconv -f utf-8 -t latin2; }; function search() { grep -l "^$1$" `grep ^szotar szotar.konf | awk '{print $0"/*"}'`; }; function put() { echo "Kérem a következÅ‘ mintát a $1 szóhoz, vagy f (felvétel), u (felvétel új tÅ‘vel):"; LOC=""; while read j; do test "$j" = "f" -o "$j" = "u" && break || LOC=$(search `latin $j`); echo $LOC; done; echo ""; if test "$j" = "f"; then w=`latin $1`; for l in $LOC; do echo "$w" >>$l; done; else echo "új tÅ‘?"; read k; echo "új tÅ‘: $k"; w=`latin $k`; for l in $LOC; do echo "$w" >>$l; done; fi; echo -e "Felvéve ide:\n$LOC"; }; while read i; do case $i in "ö") echo "`latin $prev`" >>$(dirname $(echo $ploc | head -1 | awk '{print $1}'))/fonev_osszetett.1; echo "összetettként felvéve: $prev";; esac; ploc=$(search `latin $i`); echo $ploc; test -z "$ploc" && put $i; echo "Az új szó?"; prev=$i; done ++latin() { echo "$1" | iconv -f utf-8 -t latin2; }; search() { grep -l "^$1$" `grep ^szotar szotar.konf | awk '{print $0"/*"}'`; }; put() { echo "Kérem a következÅ‘ mintát a $1 szóhoz, vagy f (felvétel), u (felvétel új tÅ‘vel):"; LOC=""; while read j; do test "$j" = "f" -o "$j" = "u" && break || LOC=$(search `latin $j`); echo $LOC; done; echo ""; if test "$j" = "f"; then w=`latin $1`; for l in $LOC; do echo "$w" >>$l; done; else echo "új tÅ‘?"; read k; echo "új tÅ‘: $k"; w=`latin $k`; for l in $LOC; do echo "$w" >>$l; done; fi; echo -e "Felvéve ide:\n$LOC"; }; while read i; do case $i in "ö") echo "`latin $prev`" >>$(dirname $(echo $ploc | head -1 | awk '{print $1}'))/fonev_osszetett.1; echo "összetettként felvéve: $prev";; esac; ploc=$(search `latin $i`); echo $ploc; test -z "$ploc" && put $i; echo "Az új szó?"; prev=$i; done diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/files/patch-bin_fonevek /usr/ports/hungarian/ispell/files/patch-bin_fonevek --- /usr/ports/hungarian/ispell.orig/files/patch-bin_fonevek 2007-09-28 17:23:06.000000000 +0200 +++ /usr/ports/hungarian/ispell/files/patch-bin_fonevek 2007-10-01 19:22:09.000000000 +0200 @@ -1,5 +1,5 @@ -$FreeBSD: ports/hungarian/ispell/files/patch-bin_fonevek,v 1.1 2007/09/28 15:23:06 gabor Exp $ +$FreeBSD$ --- bin/fonevek.orig +++ bin/fonevek @@ -18,3 +18,12 @@ awk '/^[^ ]*[[]/{ print $1 >>"mezok.txt" i = index($1, "[") +@@ -186,7 +186,7 @@ + + # kiejtés javítása + cat mezok.txt | sed 's/sszsz/ssz/;s/szsz/ssz/;s/sss/ss/;s/[[,]/ /;s/]//' >mezok2.txt +-cat mezok2.txt | iconv -f latin2 -t utf8 | sed -f $BINDIR/l1_u8.sed >mezok_utf.txt ++cat mezok2.txt | iconv -f latin2 -t utf-8 | sed -f $BINDIR/l1_u8.sed >mezok_utf.txt + echo_n . + + echo " Rendben." --- hu-ispell-1.2.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: