public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gerald Pfeifer <gerald@pfeifer.com>
To: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org
Subject: Fix libjava bootstrap failure around IUCLC
Date: Sun, 25 Mar 2012 16:09:00 -0000	[thread overview]
Message-ID: <alpine.LNX.2.00.1203251807180.4039@gerinyyl.fvgr> (raw)

This has been introduced by

  2012-03-16  Andrew John Hughes  <ahughes@redhat.com>

        * Makefile.am: Add natVMConsole.cc.
	:
        * java/io/VMConsole.h: Initial generation.
        * java/io/VMConsole.java: Copied from classpath/vm/reference.
        * java/io/natVMConsole.cc: Implemented readPassword.

where now bootstrap on FreeBSD, Darwin and possibly others is broken.

Tested on amd64-unknown-freebsd8.3.  Okay?

Gerald


2012-03-25  Gerald Pfeifer  <gerald@pfeifer.com>

        PR libgcj/52694
        * java/io/natVMConsole.cc (IUCLC): Define, if undefined.

Index: java/io/natVMConsole.cc
===================================================================
--- java/io/natVMConsole.cc	(revision 185766)
+++ java/io/natVMConsole.cc	(working copy)
@@ -19,6 +19,10 @@
 #include <java/io/Console.h>
 #include <java/io/VMConsole.h>
 
+#ifndef IUCLC
+#define IUCLC 0
+#endif
+
 #define TERMIOS_ECHO_IFLAGS (IUCLC|IXON|IXOFF|IXANY)
 #define TERMIOS_ECHO_LFLAGS (ECHO|ECHOE|ECHOK|ECHONL|TOSTOP)
 

             reply	other threads:[~2012-03-25 16:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 16:09 Gerald Pfeifer [this message]
2012-03-26  9:01 ` Andrew Haley
2012-03-26 10:11   ` Mark Wielaard
2012-03-26 10:47     ` [cp-patches] " Pekka Enberg
2012-03-26 10:49       ` Andrew Haley
2012-03-26 10:50       ` Andrew Haley
2012-03-26 10:53         ` Pekka Enberg
2012-03-26 11:03           ` Mark Wielaard
2012-03-26 10:54       ` Mark Wielaard
2012-03-26 10:49     ` Andrew Haley
2012-03-28 19:48       ` Gerald Pfeifer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1203251807180.4039@gerinyyl.fvgr \
    --to=gerald@pfeifer.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).