diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-10 09:58:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-10 09:58:34 +0000 |
commit | f4aacf4c3225f8a31807f89e5d251a71c9a42327 (patch) | |
tree | 00fee5cbb46e2bbf938c3993abb6458bcb26f60e /main/gcc/ada-fixes.patch | |
parent | ea0af854b52e5d2b44e6af094572e6ae38d1ba5a (diff) | |
download | aports-f4aacf4c3225f8a31807f89e5d251a71c9a42327.tar.bz2 aports-f4aacf4c3225f8a31807f89e5d251a71c9a42327.tar.xz |
Revert "main/gcc: fixes, support crosscompiler creation"
Needs newer abuild
This reverts commit ea0af854b52e5d2b44e6af094572e6ae38d1ba5a.
Diffstat (limited to 'main/gcc/ada-fixes.patch')
-rw-r--r-- | main/gcc/ada-fixes.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/main/gcc/ada-fixes.patch b/main/gcc/ada-fixes.patch deleted file mode 100644 index db9a3e3ebe..0000000000 --- a/main/gcc/ada-fixes.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- gcc-4.8.1/gcc/ada/terminals.c.orig -+++ gcc-4.8.1/gcc/ada/terminals.c -@@ -984,13 +984,6 @@ - #include <stdio.h> - #include <stdlib.h> - --/* On some system termio is either absent or including it will disable termios -- (HP-UX) */ --#if ! defined (__hpux__) && ! defined (FREEBSD) && \ -- ! defined (__APPLE__) && ! defined(__rtems__) --# include <termio.h> --#endif -- - #include <sys/ioctl.h> - #include <termios.h> - #include <fcntl.h> -@@ -1032,10 +1025,8 @@ - */ - - /* Configurable part */ --#if defined (__APPLE__) || defined (FREEBSD) -+#if defined (__APPLE__) || defined (FREEBSD) || defined(linux) - #define USE_OPENPTY --#elif defined (linux) --#define USE_GETPT - #elif defined (sun) - #define USE_CLONE_DEVICE "/dev/ptmx" - #elif defined (_AIX) -@@ -1179,7 +1170,7 @@ - int status; - - /* ensure that s is filled with 0 */ -- bzero (&s, sizeof (&s)); -+ bzero (&s, sizeof (s)); - - /* Get the current terminal settings */ - status = tcgetattr (fd, &s); ---- gcc-4.8.1/gcc/ada/cal.c.orig -+++ gcc-4.8.1/gcc/ada/cal.c -@@ -65,6 +65,7 @@ - #include <time.h> - #else - #include <sys/time.h> -+#include <time.h> - #endif - - #ifdef __MINGW32__ |