aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-06-17 02:46:36 +0800
committersf <sf@FreeBSD.org>2001-06-17 02:46:36 +0800
commit6e2d5c6f453967b389690abe7131978d220970d2 (patch)
tree9ac7124142ea3c7396e36178f33aa2c97d465eb2
parenta966716df7098190cb225b6c847b821b7be8de41 (diff)
downloadfreebsd-ports-gnome-6e2d5c6f453967b389690abe7131978d220970d2.tar.gz
freebsd-ports-gnome-6e2d5c6f453967b389690abe7131978d220970d2.tar.zst
freebsd-ports-gnome-6e2d5c6f453967b389690abe7131978d220970d2.zip
fix build with gnat-3.13p.
PR: 26262 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
-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;
+