diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2005-11-29 00:01:24 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2005-11-29 00:01:24 +0000 |
commit | 653aef86bca9e3d3807bd0bbfdecd29a7beda3bd (patch) | |
tree | 18f7b9db8895f0cb3203d925c1250d6ff5333f6d /lang/gnat/files/patch-ac | |
parent | - Update to 2.0.7 (diff) |
Update the antiquated version of the GNAT compiler to the GPL-2005
version.
Note that this version now produces executables that are
covered by the GPL as opposed to the previous version which was
covered by the modified GPL.
Also note that the GNAT sources in the stock GCC-4 tree are
not under this restriction. A new port based on the sources
in GCC-4 will come when I get the time.
Notes
Notes:
svn path=/head/; revision=149845
Diffstat (limited to 'lang/gnat/files/patch-ac')
-rw-r--r-- | lang/gnat/files/patch-ac | 51 |
1 files changed, 20 insertions, 31 deletions
diff --git a/lang/gnat/files/patch-ac b/lang/gnat/files/patch-ac index 470b37cc2421..41e4be9d9079 100644 --- a/lang/gnat/files/patch-ac +++ b/lang/gnat/files/patch-ac @@ -1,31 +1,20 @@ -*** ada/Makefile.in.orig Thu Oct 24 04:02:15 2002 ---- ada/Makefile.in Fri Nov 22 09:12:11 2002 -*************** -*** 820,825 **** ---- 820,845 ---- - endif - endif - -+ ifeq ($(strip $(filter-out %86 freebsd%,$(arch) $(osys))),) -+ LIBGNAT_TARGET_PAIRS = \ -+ a-intnam.ads<4fintnam.ads \ -+ s-inmaop.adb<7sinmaop.adb \ -+ s-intman.adb<5fintman.adb \ -+ s-mastop.adb<5omastop.adb \ -+ s-osinte.adb<5fosinte.adb \ -+ s-osinte.ads<5fosinte.ads \ -+ s-osprim.adb<7sosprim.adb \ -+ s-taprop.adb<5ftaprop.adb \ -+ s-taspri.ads<7staspri.ads \ -+ s-tpopsp.adb<7stpopsp.adb \ -+ system.ads<5fsystem.ads -+ -+ SHARED_MAJOR = 1 -+ soext = .so.$(SHARED_MAJOR) -+ THREADSLIB=-pthread -+ LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/')) -+ endif -+ - ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),) - ifeq ($(strip $(filter-out mips sgi irix6%,$(targ))),) - LIBGNAT_TARGET_PAIRS = \ +--- gcc/ada/Makefile.in.orig Tue May 17 09:22:45 2005 ++++ gcc/ada/Makefile.in Mon Nov 28 10:24:38 2005 +@@ -893,7 +893,7 @@ + mlib-tgt.adb<mlib-tgt-linux.adb + GNATLIB_SHARED = gnatlib-shared-dual + +- THREADSLIB= -lc_r ++ THREADSLIB= $(PTHREAD_LIBS) + GMEM_LIB = gmemlib + PREFIX_OBJS = $(PREFIX_REAL_OBJS) + LIBRARY_VERSION := $(LIB_VERSION) +@@ -1410,7 +1410,7 @@ + # subdirectory and copied. + LIBGNAT_SRCS = ada.h adaint.c adaint.h argv.c cio.c cstreams.c \ + errno.c exit.c cal.c ctrl_c.c \ +- raise.h raise.c sysdep.c aux-io.c init.c initialize.c seh_init.c \ ++ raise.h raise.c sysdep.c aux-io.c init.c initialize.c seh_init.c types.h \ + final.c tracebak.c tb-alvms.c tb-alvxw.c expect.c mkdir.c socket.c gsocket.h \ + $(EXTRA_LIBGNAT_SRCS) + |