From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#440: marked as done (Build error on Solaris) Date: Tue, 24 Jun 2008 05:25:04 -0700 Message-ID: References: <87y753w6of.fsf@roddy.4407.kankyo-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1214310304-8678-0" X-Trace: ger.gmane.org 1214310460 5493 80.91.229.12 (24 Jun 2008 12:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 12:27:40 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 14:28:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KB7d6-000604-Ll for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2008 14:28:13 +0200 Original-Received: from localhost ([127.0.0.1]:42272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB7cH-0000Fq-4p for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2008 08:27:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KB7cA-0000FM-5K for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2008 08:27:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KB7c9-0000F1-Cv for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2008 08:27:13 -0400 Original-Received: from [199.232.76.173] (port=44285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB7c9-0000Ey-4A for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2008 08:27:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50102) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KB7c8-0002V0-H2 for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2008 08:27:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5OCRAxM009834; Tue, 24 Jun 2008 05:27:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5OCP470008775; Tue, 24 Jun 2008 05:25:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 440 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18517 Archived-At: This is a multi-part message in MIME format... ------------=_1214310304-8678-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 24 Jun 2008 08:17:41 -0400 with message-id and subject line Re: bug#440: Build error on Solaris has caused the Emacs bug report #440, regarding Build error on Solaris to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 440: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D440 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1214310304-8678-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2008 07:20:47 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5I7Kf13008300 for ; Wed, 18 Jun 2008 00:20:45 -0700 Received: from mail.gnu.org ([199.232.76.166]:57862 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K8rw6-00008h-2y for emacs-pretest-bug@gnu.org; Wed, 18 Jun 2008 03:18:30 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K8ryA-0005L7-2Y for emacs-pretest-bug@gnu.org; Wed, 18 Jun 2008 03:20:40 -0400 Received: from mx20.gnu.org ([199.232.41.8]:3839) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8ry9-0005KH-Gn for emacs-pretest-bug@gnu.org; Wed, 18 Jun 2008 03:20:37 -0400 Received: from d4407.kankyo-u.ac.jp ([202.216.78.81]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8ry6-0002TQ-5a for emacs-pretest-bug@gnu.org; Wed, 18 Jun 2008 03:20:34 -0400 Received: from roddy.4407.kankyo-u.ac.jp.kankyo-u.ac.jp (localhost [IPv6:::1]) by d4407.kankyo-u.ac.jp (8.14.2/8.14.2) with ESMTP id m5I7KG6c033621 for ; Wed, 18 Jun 2008 16:20:23 +0900 (JST) (envelope-from nakaji@kankyo-u.ac.jp) Sender: nakaji@kankyo-u.ac.jp From: NAKAJI Hiroyuki To: emacs-pretest-bug@gnu.org Subject: Build error on Solaris Date: Wed, 18 Jun 2008 16:20:16 +0900 Message-ID: <87y753w6of.fsf@roddy.4407.kankyo-u.ac.jp> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Solaris does not have the functions cfmakeraw() and cfsetspeed() which are used in src/sysdep.c. I added these functions into sysdep.c but I'm not sure these must be necessary. Here is a patch. Thanks. Index: sysdep.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/sysdep.c,v retrieving revision 1.300 diff -u -r1.300 sysdep.c --- sysdep.c 14 Jun 2008 19:14:01 -0000 1.300 +++ sysdep.c 17 Jun 2008 10:03:21 -0000 @@ -231,6 +231,27 @@ #endif #endif +#ifdef SOLARIS2 +void cfmakeraw(struct termios *t) +{ + t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR); + t->c_iflag |= IGNBRK; + t->c_oflag &= ~OPOST; + t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|NOFLSH|TOSTOP|PENDIN); + t->c_cflag &= ~(CSIZE|PARENB); + t->c_cflag |= CS8|CREAD; + t->c_cc[VMIN] = 1; + t->c_cc[VTIME] = 0; +} + +int cfsetspeed(struct termios *t, speed_t speed) +{ + cfsetispeed(t, speed); + cfsetospeed(t, speed); + return (0); +} +#endif + int emacs_ospeed; void croak P_ ((char *)) NO_RETURN; -- NAKAJI Hiroyuki ------------=_1214310304-8678-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 440-close) by emacsbugs.donarmstrong.com; 24 Jun 2008 12:17:54 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5OCHokB007458 for <440-close@emacsbugs.donarmstrong.com>; Tue, 24 Jun 2008 05:17:52 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAGKCYEhFxIdG/2dsb2JhbACBW7EX X-IronPort-AV: E=Sophos;i="4.27,696,1204520400"; d="scan'208";a="23134752" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 24 Jun 2008 08:17:44 -0400 Received: from pastel.home ([69.196.135.70]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id ESP53144; Tue, 24 Jun 2008 08:17:44 -0400 Received: by pastel.home (Postfix, from userid 20848) id 055BC825A; Tue, 24 Jun 2008 08:17:41 -0400 (EDT) From: Stefan Monnier To: NAKAJI Hiroyuki Cc: 440-close@emacsbugs.donarmstrong.com Subject: Re: bug#440: Build error on Solaris Message-ID: References: <87y753w6of.fsf@roddy.4407.kankyo-u.ac.jp> <87abhbquse.fsf@roddy.4407.kankyo-u.ac.jp> Date: Tue, 24 Jun 2008 08:17:41 -0400 In-Reply-To: <87abhbquse.fsf@roddy.4407.kankyo-u.ac.jp> (NAKAJI Hiroyuki's message of "Tue, 24 Jun 2008 14:14:09 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> A similar problem appeared under Cygwin. I've installed a change >> (provided by Angelo Graziosi) which should hopefully fix the problem, [...] > I tried your code. It works well. Thanks. Thank you, Stefan ------------=_1214310304-8678-0--