From patchwork Sun Mar 25 16:08:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 148568 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 01260B6EF3 for ; Mon, 26 Mar 2012 03:09:24 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1333296565; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:MIME-Version:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=KXvVd1qC/dfyVd9VWLer 6Mdw274=; b=n+Oyp2yDWeF6VfW92urYUmStUTPZPTqH1sSc0TUWV1oA3e7fl37m fgtT+rI/NBJCQzOcXOaVy3rUXGaL3wf4p7s5vLAAEVgTQCnpWt6OXMdQI9hGJXWy 5xnN2LU4t/qA9v0lA7pGkxi1VuvwQC1TAJju0i1EF2526WBYcgUUTJ0= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Upk2WWBH6579LbIgGHV0LCf3ffZkm5NTRMceWo5ruoyZtFxKvvsZg81hLT9ZKL EI0xHQtssU1NTGcX1SLA6+DAx2uj3NvG4XgwcVnPGtmsptv2Rtutp96gbibP9+Jp MZJWnxUbNxsdHfVUh1eVBujyP8TVQjd1fvpHkcZA5ahIQ=; Received: (qmail 30276 invoked by alias); 25 Mar 2012 16:09:14 -0000 Received: (qmail 30253 invoked by uid 22791); 25 Mar 2012 16:09:12 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_IB X-Spam-Check-By: sourceware.org Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Mar 2012 16:08:59 +0000 Received: from [10.140.219.51] (unknown [80.187.201.77]) by ainaz.pair.com (Postfix) with ESMTPSA id 8398E3F41C; Sun, 25 Mar 2012 12:08:57 -0400 (EDT) Date: Sun, 25 Mar 2012 18:08:56 +0200 (CEST) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org Subject: Fix libjava bootstrap failure around IUCLC Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This has been introduced by 2012-03-16 Andrew John Hughes * 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 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 #include +#ifndef IUCLC +#define IUCLC 0 +#endif + #define TERMIOS_ECHO_IFLAGS (IUCLC|IXON|IXOFF|IXANY) #define TERMIOS_ECHO_LFLAGS (ECHO|ECHOE|ECHOK|ECHONL|TOSTOP)