diff options
Diffstat (limited to 'devel/asis-gpl/files/patch-ab')
-rw-r--r-- | devel/asis-gpl/files/patch-ab | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/devel/asis-gpl/files/patch-ab b/devel/asis-gpl/files/patch-ab index 294bc08c8226..66233250fa0e 100644 --- a/devel/asis-gpl/files/patch-ab +++ b/devel/asis-gpl/files/patch-ab @@ -1,27 +1,30 @@ -#PATCHOPTIONS: -p0 ---- examples/ds/display_source.adb.dist Wed Sep 1 17:16:01 1999 -+++ examples/ds/display_source.adb Fri May 26 19:02:05 2000 -@@ -311,7 +311,7 @@ - Asis.Ada_Environments.Dissociate ( The_DS_Context ); - Asis.Implementation.Finalize (""); +--- obj/Makefile.dist Wed Jul 19 21:09:05 2000 ++++ obj/Makefile Tue Dec 19 18:16:57 2000 +@@ -18,11 +18,11 @@ + endif -- -- let's delete the *.at? and *.ali files -+ -- let's delete the *.adt and *.ali files - declare - To_Erase : String := Ada.Command_Line.Argument (Command_File) ; - File : File_Type ; -@@ -320,12 +320,12 @@ - To_Erase (To_Erase'Last - 3 .. To_Erase'Last - 1 ) = ".AD" - then - -- tree file -- To_Erase ( To_Erase'Last - 1 ) := 't' ; -+ To_Erase ( To_Erase'Last ) := 't' ; - Open ( File , Out_File , To_Erase ) ; - Delete ( File ) ; + bld-objs: +- gcc -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb ++ $(CC) -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb + # install_asis.adb is not '-gnatg-compilable' + ifeq "$(findstring hppa, $(host))" "hppa" + # this file has problems when compiled with optimization see 7418-013 +- gcc -c -I$(GNAT_DIR) $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb ++ $(CC) -c -I$(GNAT_DIR) $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb + endif + gnatmake -c $(GNATMAKE_FLAGS) -aI$(GNAT_DIR) -aI$(ASIS_DIR) $(CFLAGS)\ + install_asis.adb \ +@@ -31,11 +31,11 @@ - -- ali file -- To_Erase (To_Erase'Last -2 .. To_Erase'Last) := "ali"; -+ To_Erase (To_Erase'Last - 2 .. To_Erase'Last) := "ali"; - Open ( File , Out_File , To_Erase ) ; - Delete ( File ) ; + libasis$(soext): clean + $(MAKE) -e bld-objs CFLAGS="$(CFLAGS) -fPIC" +- gcc -shared -o libasis$(soext) *$(objext) ++ $(CC) -shared -o libasis$(soext) *$(objext) + clean: + $(RM) *$(objext) + $(RM) *.ali + $(RM) *$(arext) + $(RM) *$(soext) +- $(RM) *~ ++ $(RM) *~ |