aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-16 18:46:36 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-06-16 18:46:36 +0000
commit59afa827d594cfb62e13f74952bb813c902f71d1 (patch)
tree1f04fb2de2e9462f3880323d5970ce5348f5a1f3
parentc99e82c73aee559f13201506b75ddb433367eb17 (diff)
downloadports-59afa827d594cfb62e13f74952bb813c902f71d1.tar.gz
ports-59afa827d594cfb62e13f74952bb813c902f71d1.zip
fix build with gnat-3.13p.
PR: 26262 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
Notes
Notes: svn path=/head/; revision=44074
-rw-r--r--lang/jgnat/files/patch-ae23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/jgnat/files/patch-ae b/lang/jgnat/files/patch-ae
new file mode 100644
index 000000000000..c6c00fe428a4
--- /dev/null
+++ b/lang/jgnat/files/patch-ae
@@ -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;
+