1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= HTML generator for Ada95 library unit specs
8 HOMEPAGE= http://home.datacomm.ch/t_wolf/tw/ada95/adabrowse
9 CONTACT= John_Marino[draco@marino.st]
12 SITES[main]= http://home.datacomm.ch/t_wolf/tw/ada95/adabrowse/
13 DISTFILE[1]= adabrowse_4.0.3_src.tar.gz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= asis:primary:standard
23 gcc10:complete:standard
25 USES= gprbuild dos2unix
27 DISTNAME= adabrowse_4.0.3
29 LICENSE= GPLv2+:primary
30 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
31 LICENSE_FILE= GPLv2+:{{WRKSRC}}/GPL.txt
32 LICENSE_AWK= TERMS:"^$$"
33 LICENSE_SOURCE= TERMS:{{WRKSRC}}/ad.ads
36 FPC_EQUIVALENT= textproc/adabrowse
39 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gprbuild -p -P build)
42 ${CP} ${FILESDIR}/ad-* ${FILESDIR}/build.gpr ${WRKSRC}
43 ${RM} ${WRKSRC}/sdefault.adb
46 ${MKDIR} ${STAGEDIR}/${STD_DOCDIR}
47 ${INSTALL_PROGRAM} ${WRKSRC}/adabrowse \
48 ${STAGEDIR}${PREFIX}/bin/adabrowse
49 ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.css \
50 ${STAGEDIR}/${STD_DOCDIR}/
52 [FILE:279:descriptions/desc.primary]
53 AdaBrowse is a javadoc-like HTML generator for Ada 95 library unit
54 specifications. It can also generate XML output; a DTD is included in
55 the distribution. AdaBrowse produces a fully cross-referenced HTML
56 rendering of Ada 95 specs without bodies. It is a command-line utility.
60 4567c66d0d3a75cc9e4938100cc5e51f96901951dc57498d18da45d14f42794c 331990 adabrowse_4.0.3_src.tar.gz
63 [FILE:14:manifests/plist.primary]
67 [FILE:422:patches/patch-ad-driver.adb]
68 --- ad-driver.adb.orig 2021-09-04 15:38:31 UTC
70 @@ -470,6 +470,7 @@ package body AD.Driver is
72 (AIC.Subprogram_Index, Canonical (S (S'First + 2 .. S'Last)));
74 + Error ("-P is disabled in Ravenports");
76 Check_Following (I, N, S);
80 [FILE:1069:patches/patch-ad-indices.adb]
81 --- ad-indices.adb.orig 2021-09-04 16:03:27 UTC
86 with Ada.Characters.Handling;
87 -with Ada.Finalization;
88 -with Ada.Strings.Maps;
89 -with Ada.Strings.Unbounded;
90 with Ada.Strings.Wide_Unbounded;
91 with Ada.Unchecked_Deallocation;
95 with Asis.Declarations;
98 @@ -55,13 +52,10 @@ with Asis2.Declarations;
104 -with AD.Expressions;
109 with AD.Text_Utilities;
111 with GAL.ADT.Hash_Tables;
112 @@ -625,8 +619,9 @@ package body AD.Indices is
113 Quit : in out Boolean)
115 pragma Warnings (Off, Quit); -- silence -gnatwa
116 + use type System.Address;
118 - if Item.all'Access /= Idx then
119 + if Item.all'Address /= Idx.all'Address then
120 AD.Printers.XRef_Index
122 ASU.To_String (Item.File_Name),
125 [FILE:190:patches/patch-ad-setup.ads]
126 --- ad-setup.ads.orig 2021-09-04 15:36:33 UTC
128 @@ -11,6 +11,6 @@ package AD.Setup is
131 GNAT_Name : constant String :=
138 [FILE:853:patches/patch-util-pipes.adb]
139 --- util-pipes.adb.orig 2021-09-04 15:38:31 UTC
141 @@ -132,16 +132,8 @@ package body Util.Pipes is
142 -- <stdio.h>, the ISO C standard requires that they also be available
143 -- as real functions. Hence we may import them directly.
145 - pragma Linker_Options ("util-nl.o");
147 - function Get_NL return Interfaces.C.int;
148 - pragma Import (C, Get_NL, "get_newline");
150 - New_Line : constant Interfaces.C.int := Get_NL;
151 - -- '\n' is replaced at compile-time by a C compiler. Hence we cannot
152 - -- use fputs (To_C ("\n")) to generate whatever C expects as a newline.
153 - -- Therefore, we have a little C wrapper which just returns '\n', and
154 - -- we remember that value here.
155 + New_Line : constant Interfaces.C.int := Interfaces.C.char'Pos
156 + (Interfaces.C.nul);
162 [FILE:242:files/ad-projects-impl.ads]
163 -- The FSF GNAT 4.9 Project code is hopelessly too modern for AdaBrowse to
164 -- hook into it. Just build AdaBrowse without it.
166 pragma License (GPL);
168 with AD.Projects.Impl_No;
169 private package AD.Projects.Impl
170 renames AD.Projects.Impl_No;
173 [FILE:321:files/build.gpr]
178 for Languages use ("Ada", "C");
179 for Source_Dirs use (".");
180 for Object_dir use "obj";
181 for Exec_Dir use ".";
182 for Main use ("adabrowse.adb");
185 for Default_Switches ("ada") use ("-O2", "-gnatwa");
191 [FILE:47:files/special.mk]
192 PREPEND_PATH= ${LOCALBASE}/toolchain/gcc10/bin