diff options
author | marino <marino@pkgsrc.org> | 2016-12-10 00:22:39 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2016-12-10 00:22:39 +0000 |
commit | a478237dfb73576d3d0a13fa96ba7630c580a630 (patch) | |
tree | 91c2c69fb5c51e20fd3d72abf5b5e5f9763c5ce8 /lang/gcc5-aux/files | |
parent | a2697a60c197a725c2cae6bc2fdf5b64457a5fce (diff) | |
download | pkgsrc-a478237dfb73576d3d0a13fa96ba7630c580a630.tar.gz |
lang/gcc5-aux: Fix getchar functionality on NetBSD
Diffstat (limited to 'lang/gcc5-aux/files')
-rw-r--r-- | lang/gcc5-aux/files/diff-ada | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lang/gcc5-aux/files/diff-ada b/lang/gcc5-aux/files/diff-ada index bde7fedac0a..92581aa0b68 100644 --- a/lang/gcc5-aux/files/diff-ada +++ b/lang/gcc5-aux/files/diff-ada @@ -2872,7 +2872,7 @@ || defined (__MACHTEN__) || defined (__hpux__) || defined (_AIX) \ || (defined (__svr4__) && defined (i386)) || defined (__Lynx__) \ || defined (__CYGWIN__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ -+ || defined (__DragonFly__) \ ++ || defined (__DragonFly__) || defined (__NetBSD__) \ || defined (__GLIBC__) || defined (__APPLE__) # ifdef __MINGW32__ @@ -2880,7 +2880,7 @@ || defined (__CYGWIN32__) || defined (__MACHTEN__) || defined (__hpux__) \ || defined (_AIX) || (defined (__svr4__) && defined (i386)) \ || defined (__Lynx__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ -+ || defined (__DragonFly__) \ ++ || defined (__DragonFly__) || defined (__NetBSD__) \ || defined (__GLIBC__) || defined (__APPLE__) char c; int nread; @@ -2888,16 +2888,15 @@ || defined (__MACHTEN__) || defined (__hpux__) \ || defined (_AIX) || (defined (__svr4__) && defined (i386)) \ || defined (__Lynx__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ -+ || defined (__DragonFly__) \ ++ || defined (__DragonFly__) || defined (__NetBSD__) \ || defined (__GLIBC__) || defined (__APPLE__) eof_ch = termios_rec.c_cc[VEOF]; -@@ -820,6 +823,8 @@ +@@ -820,6 +823,7 @@ struct tm */ #elif defined (__APPLE__) || defined (__FreeBSD__) || defined (linux) \ -+ || defined (__DragonFly__) \ -+ || defined (__OpenBSD__) \ ++ || defined (__DragonFly__) || defined (__NetBSD__) \ || defined (__GLIBC__) { localtime_r (timer, &tp); |