From owner-freebsd-ports Sat Mar 31 14:20:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB72137B71A for ; Sat, 31 Mar 2001 14:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2VMK3I68964; Sat, 31 Mar 2001 14:20:03 -0800 (PST) (envelope-from gnats) Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163]) by hub.freebsd.org (Postfix) with ESMTP id D142A37B718 for ; Sat, 31 Mar 2001 14:14:08 -0800 (PST) (envelope-from jmcoopr@johncoop.MSHOME.bmi.net) Received: from johncoop.MSHOME (dsl-154.bmi.net [207.173.60.230]) by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id OAA15248 for ; Sat, 31 Mar 2001 14:07:37 -0800 Received: (from jmcoopr@localhost) by johncoop.MSHOME (8.11.3/8.11.3) id f2VME5Y05644; Sat, 31 Mar 2001 14:14:05 -0800 (PST) (envelope-from jmcoopr) Message-Id: <200103312214.f2VME5Y05644@johncoop.MSHOME> Date: Sat, 31 Mar 2001 14:14:05 -0800 (PST) From: jmcoopr@webmail.bmi.net Reply-To: jmcoopr@webmail.bmi.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26256: jgnat-1.0p needs a patch to compile with gnat-3.13p Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26256 >Category: ports >Synopsis: jgnat-1.0p has a semantic error that prevents compilation >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 31 14:20:03 PST 2001 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.3-RC i386 >Organization: >Environment: System: FreeBSD johncoop.MSHOME 4.3-RC FreeBSD 4.3-RC #11: Sat Mar 31 01:58:40 PST 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: jgnat-1.0p was designed with gnat-3.12p. gnat-3.12p would (erroneously) allow a cast from/to a wide-character type to/from a character type. gnat-3.13p fixed this bug, but now jgnat-1.0p will not compile under gnat-3.13p. I have contacted the listed maintainer and cc'ed freebsd-stable, but with no response. I have a patch (correcting the semantic error) that will allow jgnat-1.0p to compile and install (delivered in previous referenced message to the listed maintainer and to freebsd-stable) but with no response. Is a new maintainer needed? >How-To-Repeat: just try to make/install jgnat . . . :) >Fix: The patch: --- jvm_file.adb.old Tue Jan 19 15:26:06 1999 +++ jvm_file.adb.new Thu Mar 8 10:03:10 2001 @@ -31,6 +31,9 @@ with JVM_Walk; with Osint; +-- add following to get rid of compile bug +with Ada.Characters.Handling; + package body JVM_File is use Utf8; @@ -417,7 +420,9 @@ if U in 16#01# .. 16#7F# then Add (T, U); else - Append (T, Wide_Character (C)); + + -- Change to To_Wide_Character from Ada.Characters.Handling + Append (T, Ada.Characters.Handling.To_Wide_Character (C)); end if; end Append; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message