public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix libjava bootstrap failure around IUCLC
@ 2012-03-25 16:09 Gerald Pfeifer
  2012-03-26  9:01 ` Andrew Haley
  0 siblings, 1 reply; 11+ messages in thread
From: Gerald Pfeifer @ 2012-03-25 16:09 UTC (permalink / raw)
  To: gcc-patches, java-patches

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)
 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-28 19:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-25 16:09 Fix libjava bootstrap failure around IUCLC Gerald Pfeifer
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

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).