pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc5-aux/files lang/gcc5-aux: Fix getchar functio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d77c50eb6af5
branches:  trunk
changeset: 355684:d77c50eb6af5
user:      marino <marino%pkgsrc.org@localhost>
date:      Sat Dec 10 00:22:39 2016 +0000

description:
lang/gcc5-aux: Fix getchar functionality on NetBSD

diffstat:

 lang/gcc5-aux/files/diff-ada |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 7c7b4f1d43f4 -r d77c50eb6af5 lang/gcc5-aux/files/diff-ada
--- a/lang/gcc5-aux/files/diff-ada      Fri Dec 09 22:28:39 2016 +0000
+++ b/lang/gcc5-aux/files/diff-ada      Sat Dec 10 00:22:39 2016 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index