summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authormarino <marino>2016-12-10 00:22:39 +0000
committermarino <marino>2016-12-10 00:22:39 +0000
commit3b989e6d94d6c44de8e905b5f146e29f92e61786 (patch)
tree925bd1d81dee2f1592d69fb3a34a863c0d0a2bc6 /lang
parent9f08912e9a9854d879d553147e8adacfefbe8d64 (diff)
downloadpkgsrc-3b989e6d94d6c44de8e905b5f146e29f92e61786.tar.gz
lang/gcc5-aux: Fix getchar functionality on NetBSD
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc5-aux/files/diff-ada11
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);