1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/lang/gnat/files/patch-ac
Daniel Eischen 653aef86bc 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.
2005-11-29 00:01:24 +00:00

21 lines
756 B
Plaintext

--- 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)