From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 21 14:10:35 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5267316A420 for ; Thu, 21 Jul 2005 14:10:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CEBD43D5E for ; Thu, 21 Jul 2005 14:10:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6LEA7oA031193 for ; Thu, 21 Jul 2005 14:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6LEA733031192; Thu, 21 Jul 2005 14:10:07 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jul 2005 14:10:07 GMT Resent-Message-Id: <200507211410.j6LEA733031192@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1151816A41F for ; Thu, 21 Jul 2005 14:05:21 +0000 (GMT) (envelope-from johans@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B7B43D5C for ; Thu, 21 Jul 2005 14:05:13 +0000 (GMT) (envelope-from johans@stack.nl) Received: by mailhost.stack.nl (Postfix, from userid 65534) id 71642A3002; Thu, 21 Jul 2005 16:05:12 +0200 (CEST) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by mailhost.stack.nl (Postfix) with ESMTP id 929A4A303C for ; Thu, 21 Jul 2005 16:05:11 +0200 (CEST) Received: by mud.stack.nl (Postfix, from userid 801) id 7C7021703F; Thu, 21 Jul 2005 16:05:11 +0200 (CEST) Message-Id: <20050721140511.7C7021703F@mud.stack.nl> Date: Thu, 21 Jul 2005 16:05:11 +0200 (CEST) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83864: [maintainer] math/gap: update and bugfix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:10:35 -0000 >Number: 83864 >Category: ports >Synopsis: [maintainer] math/gap: update and bugfix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jul 21 14:10:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE #5: Wed Jul 13 12:15:37 CEST 2005 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: Update to use new contrib packages. Include bugfix in tty handling (fed back to authors). >How-To-Repeat: >Fix: This patch adds files/patch-gap4r4_src_iostream.c diff -uNr gap/Makefile gap/Makefile --- gap/Makefile Mon May 16 04:04:21 2005 +++ gap/Makefile Thu Jul 21 15:37:47 2005 @@ -21,7 +21,7 @@ .include GAP_VERSION= gap4r4 -GAP_PKGTIME= 2005_05_04-17_55_UTC +GAP_PKGTIME= 2005_07_20-19_29_UTC GAP_PKGDATE= ${GAP_PKGTIME:C/-.*//:S/_//g} GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION} GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION} diff -uNr gap/distinfo gap/distinfo --- gap/distinfo Mon May 16 04:04:21 2005 +++ gap/distinfo Thu Jul 21 15:38:09 2005 @@ -1,5 +1,5 @@ -MD5 (gap/packages-2005_05_04-17_55_UTC.tar.bz2) = 94ef53c929b15e03d6fb4280a157bd16 -SIZE (gap/packages-2005_05_04-17_55_UTC.tar.bz2) = 33982065 +MD5 (gap/packages-2005_07_20-19_29_UTC.tar.bz2) = fcb2e1603e47f8ab4926b5ee9e0c3e71 +SIZE (gap/packages-2005_07_20-19_29_UTC.tar.bz2) = 34464002 MD5 (gap/gap4r4p5.tar.bz2) = 61c7d40f950e3e2edf79ad125cc0c2ec SIZE (gap/gap4r4p5.tar.bz2) = 43758168 MD5 (gap/xtom1r1p2.tar.bz2) = d925ff86d888a5098c5b22ed1625fd4a diff -uNr gap/files/patch-gap4r4_src_iostream.c gap/files/patch-gap4r4_src_iostream.c --- gap/files/patch-gap4r4_src_iostream.c Thu Jan 1 01:00:00 1970 +++ gap/files/patch-gap4r4_src_iostream.c Tue Jun 14 18:42:14 2005 @@ -0,0 +1,32 @@ +--- gap4r4/src/iostream.c.orig Thu Feb 19 08:28:32 2004 ++++ gap4r4/src/iostream.c Tue Jun 14 18:41:51 2005 +@@ -340,9 +340,9 @@ static UInt GetMasterPty ( int * pty, Ch + return 0; + + # else +- static int devindex = 0; +- static int letter = 0; +- static int slave = 0; ++ int devindex = 0; ++ int letter = 0; ++ int slave = 0; + + while ( SYS_PTYCHAR1[letter] ) + { +@@ -355,12 +355,16 @@ static UInt GetMasterPty ( int * pty, Ch + namepty[strlen(namepty)-1] = SYS_PTYCHAR2[devindex]; + + if ( (*pty = open( namepty, O_RDWR )) >= 0 ) ++ { + if ( (slave = open( nametty, O_RDWR, 0 )) >= 0 ) + { + close(slave); + (void) devindex++; + return 0; + } ++ else ++ close(*pty); ++ } + devindex++; + } + devindex = 0; >Release-Note: >Audit-Trail: >Unformatted: