tags 471628 + patch
thank you
Hello,
Here is a patch that fixes the issue for me. However, I did run across
1 problem. gnat-4.3 doesn't seem to ship the /usr/bin/gnatgcc symlink.
I don't know if that is a bug or intentional.
Hope this helps.
Thanks,
Barry deFreese
--- libtemplates-parser-10.0+20060522.orig/src/templates_parser.adb
+++ libtemplates-parser-10.0+20060522/src/templates_parser.adb
@@ -26,6 +26,7 @@
with Ada.Strings.Fixed;
with Ada.Strings.Maps.Constants;
with Ada.Unchecked_Deallocation;
+with Ada.Text_IO;
with GNAT.Calendar.Time_IO;
with GNAT.Regpat;
@@ -3563,7 +3564,7 @@
begin
T.File := Load (I_Filename, Cached, True);
exception
- when Text_IO.Name_Error =>
+ when Ada.Text_IO.Name_Error =>
-- File not found, this is an error only if we are not
-- inside a conditional.
if not In_If then
only in patch2:
unchanged:
--- libtemplates-parser-10.0+20060522.orig/src/templates_parser-input__standalone.adb
+++ libtemplates-parser-10.0+20060522/src/templates_parser-input__standalone.adb
@@ -24,6 +24,7 @@
-- Templates_Parser.
with Ada.Exceptions;
+with Ada.IO_Exceptions;
with Ada.Streams.Stream_IO;
with Ada.Unchecked_Deallocation;