Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 16:05:11 +0200 (CEST)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83864: [maintainer] math/gap: update and bugfix
Message-ID:  <20050721140511.7C7021703F@mud.stack.nl>
Resent-Message-ID: <200507211410.j6LEA733031192@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
 
 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050721140511.7C7021703F>