diff options
Diffstat (limited to 'gcc47-ada.patch')
-rw-r--r-- | gcc47-ada.patch | 76 |
1 files changed, 46 insertions, 30 deletions
diff --git a/gcc47-ada.patch b/gcc47-ada.patch index ad67a4a..419636f 100644 --- a/gcc47-ada.patch +++ b/gcc47-ada.patch @@ -1,5 +1,5 @@ ---- origsrc/gcc-4.7.2/gcc/ada//a-intnam-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//a-intnam-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/a-intnam-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/a-intnam-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,170 @@ +------------------------------------------------------------------------------ +-- -- @@ -171,8 +171,8 @@ + System.OS_Interface.SIGPWR; -- Power failure + +end Ada.Interrupts.Names; ---- origsrc/gcc-4.7.2/gcc/ada//gcc-interface/Makefile.in 2012-11-02 15:16:49.765625000 +0000 -+++ src/gcc-4.7.2/gcc/ada//gcc-interface/Makefile.in 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/gcc-interface/Makefile.in 2012-11-02 15:16:49.765625000 +0000 ++++ src/gcc-4.7.2/gcc/ada/gcc-interface/Makefile.in 2012-11-01 21:17:31.000000000 +0000 @@ -191,6 +191,13 @@ TARGET_ADA_SRCS = # Type of tools build we are doing; default is not compiling tools. TOOLSCASE = @@ -188,8 +188,8 @@ MULTISUBDIR = RTSDIR = rts$(subst /,_,$(MULTISUBDIR)) @@ -1583,6 +1590,12 @@ ifeq ($(strip $(filter-out avr none powe - endif + # Cygwin/Mingw32 ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(osys))),) + # Set target pair suffix for mingw or cygwin + W32_TARG=mingw @@ -342,20 +342,19 @@ gnatlib-shared-darwin: $(MAKE) $(FLAGS_TO_PASS) \ ---- origsrc/gcc-4.7.2/gcc/ada//gsocket.h 2012-11-02 15:16:49.781250000 +0000 -+++ src/gcc-4.7.2/gcc/ada//gsocket.h 2012-11-01 21:17:31.000000000 +0000 -@@ -204,7 +204,8 @@ +--- origsrc/gcc-4.7.2/gcc/ada/gsocket.h 2012-11-02 15:16:49.781250000 +0000 ++++ src/gcc-4.7.2/gcc/ada/gsocket.h 2012-11-01 21:17:31.000000000 +0000 +@@ -204,7 +204,7 @@ #endif #if defined (_AIX) || defined (__FreeBSD__) || defined (__hpux__) || \ -- defined (__osf__) || defined (_WIN32) || defined (__APPLE__) -+ defined (__osf__) || defined (_WIN32) || defined (__APPLE__) || \ -+ defined (__CYGWIN__) +- defined (_WIN32) || defined (__APPLE__) ++ defined (_WIN32) || defined (__APPLE__) || defined (__CYGWIN__) # define HAVE_THREAD_SAFE_GETxxxBYyyy 1 - #elif defined (sgi) || defined (linux) || defined (__GLIBC__) || \ ---- origsrc/gcc-4.7.2/gcc/ada//indepsw-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//indepsw-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 + #elif defined (linux) || defined (__GLIBC__) || \ +--- origsrc/gcc-4.7.2/gcc/ada/indepsw-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/indepsw-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,67 @@ +------------------------------------------------------------------------------ +-- -- @@ -424,8 +423,8 @@ + end Is_Supported; + +end Indepsw; ---- origsrc/gcc-4.7.2/gcc/ada//initialize.c 2012-11-02 15:16:50.031250000 +0000 -+++ src/gcc-4.7.2/gcc/ada//initialize.c 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/initialize.c 2012-11-02 15:16:50.031250000 +0000 ++++ src/gcc-4.7.2/gcc/ada/initialize.c 2012-11-01 21:17:31.000000000 +0000 @@ -348,6 +348,40 @@ __gnat_initialize (void *eh ATTRIBUTE_UN __main (); } @@ -467,8 +466,8 @@ #else /* For all other versions of GNAT, the initialize routine and handler ---- origsrc/gcc-4.7.2/gcc/ada//mlib-tgt-specific-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//mlib-tgt-specific-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/mlib-tgt-specific-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/mlib-tgt-specific-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,162 @@ +------------------------------------------------------------------------------ +-- -- @@ -632,8 +631,8 @@ + Library_Major_Minor_Id_Supported_Ptr := + Library_Major_Minor_Id_Supported'Access; +end MLib.Tgt.Specific; ---- origsrc/gcc-4.7.2/gcc/ada//s-gloloc-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//s-gloloc-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/s-gloloc-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/s-gloloc-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,107 @@ +------------------------------------------------------------------------------ +-- -- @@ -742,8 +741,25 @@ + end Release_Lock; + +end System.Global_Locks; ---- origsrc/gcc-4.7.2/gcc/ada//s-osinte-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//s-osinte-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.8.2/gcc/ada/s-oscons-tmplt.c (revision 202887) ++++ src/gcc-4.8.2/gcc/ada/s-oscons-tmplt.c (working copy) +@@ -973,7 +973,12 @@ + + #endif /* HAVE_TERMIOS */ + +-#ifdef __MINGW32__ ++#ifdef __CYGWIN__ ++#define RTS_CONTROL_ENABLE 0x1 ++#define DTR_CONTROL_ENABLE 0x1 ++#endif ++ ++#if defined (__CYGWIN__) || defined (__MINGW32__) + CNU(DTR_CONTROL_ENABLE, "Enable DTR flow ctrl") + CNU(RTS_CONTROL_ENABLE, "Enable RTS flow ctrl") + #endif + +--- origsrc/gcc-4.7.2/gcc/ada/s-osinte-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/s-osinte-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,951 @@ +------------------------------------------------------------------------------ +-- -- @@ -1696,8 +1712,8 @@ + end record; + +end System.OS_Interface; ---- origsrc/gcc-4.7.2/gcc/ada//s-taprop-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//s-taprop-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/s-taprop-cygwin.adb 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/s-taprop-cygwin.adb 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,1337 @@ +------------------------------------------------------------------------------ +-- -- @@ -3036,12 +3052,12 @@ + end Initialize; + +end System.Task_Primitives.Operations; ---- origsrc/gcc-4.7.2/gcc/ada//sysdep.c 2012-11-02 15:16:50.062500000 +0000 -+++ src/gcc-4.7.2/gcc/ada//sysdep.c 2012-11-02 15:50:59.968750000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/sysdep.c 2012-11-02 15:16:50.062500000 +0000 ++++ src/gcc-4.7.2/gcc/ada/sysdep.c 2012-11-02 15:50:59.968750000 +0000 @@ -311,7 +311,7 @@ getc_immediate_common (FILE *stream, + int waiting) { - #if defined (linux) || defined (sun) || defined (sgi) \ - || (defined (__osf__) && ! defined (__alpha_vxworks)) \ + #if defined (linux) || defined (sun) \ - || defined (__CYGWIN32__) || defined (__MACHTEN__) || defined (__hpux__) \ + || defined (__CYGWIN__) || defined (__MACHTEN__) || defined (__hpux__) \ || defined (_AIX) || (defined (__svr4__) && defined (i386)) \ @@ -3066,8 +3082,8 @@ #ifdef VMS /* This gets around a problem with using the old threads library on VMS 7.0. */ ---- origsrc/gcc-4.7.2/gcc/ada//system-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 -+++ src/gcc-4.7.2/gcc/ada//system-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 +--- origsrc/gcc-4.7.2/gcc/ada/system-cygwin.ads 1970-01-01 00:00:00.000000000 +0000 ++++ src/gcc-4.7.2/gcc/ada/system-cygwin.ads 2012-11-01 21:17:31.000000000 +0000 @@ -0,0 +1,198 @@ +------------------------------------------------------------------------------ +-- -- |