[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Patch] #16: add two more units to libgnatprj



  [Ludovic Brenta]
  * patches/ada-libgnatprj.dpatch: add prj-pars.ad[bs] and sfn_scan.ad[bs]
    to libgnatprj; remove them from gnatmake.

This is not urgent and not really a bug, but some packages require
these units.  AdaBrowse is such a package, but it FTBFS with the 4.1
project manager for unrelated reasons.

-- 
Ludovic Brenta.

--- patches/ada-libgnatprj.dpatch	e060f9341f5dc9e6930a36dcf5a8bcedf3a35243
+++ patches/ada-libgnatprj.dpatch	852db716c2509ae5c1773358de47e5f2822fd1ab
@@ -180,7 +180,7 @@
 +GNATLINK_OBJS = gnatlink.o indepsw.o validsw.o
  
 +GNATMAKE_OBJS = fname-sf.o fname-uf.o gnatmake.o make.o makeusg.o makeutl.o \
-+mlib-prj.o osint-m.o prj-pars.o sfn_scan.o usage.o validsw.o \
++mlib-prj.o osint-m.o usage.o validsw.o \
 +$(EXTRA_GNATMAKE_OBJS)
  
  # Makefile targets
@@ -320,7 +320,7 @@
 +    -e "s,@srcdir@,${srcdir},g" < ${srcdir}/Makefile.in > Makefile
 --- libgnatprj/Makefile.in~
 +++ libgnatprj/Makefile.in	2006-04-19 19:28:33.000000000 +0200
-@@ -0,0 +1,165 @@
+@@ -0,0 +1,166 @@
 +# Makefile for libgnatvsn.
 +#   Copyright (c) 2006 Ludovic Brenta <ludovic@ludovic-brenta.org>
 +#
@@ -364,13 +364,14 @@
 +# Here we list one file per Ada unit: the body file if the unit has a
 +# body, the spec file otherwise.
 +PRJ_SOURCES := ali.adb ali-util.adb butil.adb binderr.adb errout.adb \
-+erroutc.adb errutil.adb err_vars.ads fmap.adb impunit.adb \
-+lib-util.adb mlib.adb mlib-fil.adb mlib-tgt.adb mlib-utl.adb osint.adb osint-c.adb \
++erroutc.adb errutil.adb err_vars.ads fmap.adb impunit.adb lib-util.adb \
++mlib.adb mlib-fil.adb mlib-tgt.adb mlib-utl.adb osint.adb osint-c.adb \
 +prj.adb prj-attr.adb prj-attr-pm.adb prj-com.ads prj-dect.adb prj-env.adb \
-+prj-err.adb prj-ext.adb prj-nmsc.adb prj-part.adb prj-pp.adb prj-proc.adb \
-+prj-strt.adb prj-tree.adb prj-util.adb rident.ads scng.adb sdefault.adb \
-+sinfo-cn.adb sinput-c.adb sinput-p.adb style.ads styleg.adb styleg-c.adb \
-+stylesw.adb switch.adb switch-m.adb targparm.adb tempdir.adb
++prj-err.adb prj-ext.adb prj-nmsc.adb prj-pars.adb prj-part.adb prj-pp.adb \
++prj-proc.adb prj-strt.adb prj-tree.adb prj-util.adb rident.ads scng.adb \
++sdefault.adb sfn_scan.adb sinfo-cn.adb sinput-c.adb sinput-p.adb style.ads \
++styleg.adb styleg-c.adb stylesw.adb switch.adb switch-m.adb targparm.adb \
++tempdir.adb
 +
 +OBJECTS := $(patsubst %.ads,%.o,$(PRJ_SOURCES:.adb=.o))
 +



Reply to: