mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
fix build with gnat-3.13p.
PR: 26262 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
This commit is contained in:
parent
c99e82c73a
commit
59afa827d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44074
23
lang/jgnat/files/patch-ae
Normal file
23
lang/jgnat/files/patch-ae
Normal file
@ -0,0 +1,23 @@
|
||||
--- jvm_file.adb.orig Tue Jan 19 15:26:06 1999
|
||||
+++ jvm_file.adb 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;
|
||||
|
Loading…
Reference in New Issue
Block a user