From owner-freebsd-ports@FreeBSD.ORG Wed May 7 19:46:49 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3759837B401 for ; Wed, 7 May 2003 19:46:49 -0700 (PDT) Received: from mail.generalresources.com (adsl-211-78-137-219.NH.sparqnet.net [211.78.137.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8040643F93 for ; Wed, 7 May 2003 19:46:45 -0700 (PDT) (envelope-from freebsd@generalresources.com) Received: from mail.generalresources.com (localhost [127.0.0.1]) h482U2LX032479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 May 2003 10:30:02 +0800 (CST) (envelope-from freebsd@generalresources.com) Received: (from root@localhost) by mail.generalresources.com (8.12.9/8.12.6/Submit) id h482U2BK032475 for ports@freebsd.org.procmail; Thu, 8 May 2003 10:30:02 +0800 (CST) (envelope-from freebsd@generalresources.com) Received: from server.tucheng.generalresources.com (client-253.lan.generalresources.com [192.168.1.253])h482U1LX032471 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 8 May 2003 10:30:02 +0800 (CST) (envelope-from freebsd@generalresources.com) Received: from x4.tucheng.generalresources.com (x4.tucheng.generalresources.com [192.168.2.4])h482TOV7016838; Thu, 8 May 2003 10:29:24 +0800 (CST) (envelope-from freebsd@generalresources.com) Received: from x4.tucheng.generalresources.com (localhost [127.0.0.1]) h482T3L6010337; Thu, 8 May 2003 10:29:05 +0800 (CST) (envelope-from freebsd@generalresources.com) Message-Id: <200305080229.h482T3L6010337@x4.tucheng.generalresources.com> To: ports@freebsd.org From: Christopher Hall In-reply-to: Message of "Thu, 08 May 2003 08:51:54 +0800." <200305080051.h480psL6001440@x4.tucheng.generalresources.com> Content-transfer-encoding: 8bit Content-type: text/plain; charset=iso-8859-1 X-Operating-System: FreeBSD X-Mailer: Exmh Date: Thu, 08 May 2003 10:29:03 +0800 cc: lioux@freebsd.org Subject: Re: rxvt-devel fails on -CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christopher Hall List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 02:46:49 -0000 Just a quick addition: rxvt-devel-2.7.9 (when I got it compiled) had messed up colours, and was the same on 4.8-STABLE, Rxvt*foreground set background colour, Rxvt*background sets a thin border and the text was black. I reverted to 2.7.8_1. In message <200305080051.h480psL6001440@x4.tucheng.generalresources.com>, Christopher Hall writes: > >rxvt-devel-2.7.8_1 fails with the following error: > >ptytty.c:50:48: sys/stropts.h: No such file or directory > >After some searching I fount the same error in: > >http://bento.freebsd.org/errorlogs/i386-5-latest/rxvt-devel-2.7.8_1.log >http://bento.freebsd.org/errorlogs/i386-5-latest/zh-rxvt-devel-2.7.8_1.log > >I also found a uncommited update to rxvt-devel-2.7.9 which I tried >and give the same error. > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=46244 > > >This seems to be the problem: (from the above logs) > pty/tty type: STREAMS >It is building for Linux style /dev/ptmx > > >This is the code in configure: > > else if test -c /dev/ptc -a -d /dev/pts; then > rxvt_cv_ptys=PTC > else if test -c /dev/ptmx -a -c /dev/pts/0; then > rxvt_cv_ptys=STREAMS > else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes >; > then > rxvt_cv_ptys=STREAMS > else > rxvt_cv_ptys=BSD > > >Configure is detecting grantpt and unlockpt from stdlib.h > >I noticed there is also a posix_openpt, presumably rxvt >should be modified to detect and use this. > >As a quick fix, I made it compile by patching configure >to force BSD ptys: > >--- configure.x Wed May 7 17:17:21 2003 >+++ configure Wed May 7 17:25:09 2003 >@@ -8904,11 +8904,8 @@ > rxvt_cv_ptys=PTC > else if test -c /dev/ptmx -a -c /dev/pts/0; then > rxvt_cv_ptys=STREAMS >- else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xye >s; then >- rxvt_cv_ptys=STREAMS > else > rxvt_cv_ptys=BSD >-fi > fi > fi > fi > > >--- >Christopher Hall Fax: +886-2-2795-3030 >Christopher Hall Phone: +886-2-2795-5799 > >_______________________________________________ >freebsd-ports@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-ports >To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --- Christopher Hall Fax: +886-2-2795-3030 Christopher Hall Phone: +886-2-2795-5799