Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 17:23:09 -0500 (CDT)
From:      Loren James Rittle <rittle@latour.rsch.comm.mot.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rittle@latour.rsch.comm.mot.com
Subject:   ports/43945: Update shells/es port with new patch and configuration tweak
Message-ID:  <200210112223.g9BMN9BL097872@latour.rsch.comm.mot.com>

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

>Number:         43945
>Category:       ports
>Synopsis:       Update shells/es port with new patch and configuration tweak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 11 15:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Loren James Rittle
>Release:        FreeBSD 4.7-RC i386
>Organization:
Networks and Infrastructure Lab (IL02/2240), Motorola Labs
>Environment:
System: FreeBSD latour.rsch.comm.mot.com 4.7-RC FreeBSD 4.7-RC #0: Wed Oct 2 21:36:06 CDT 2002 rittle@latour.rsch.comm.mot.com:/usr/obj/usr/users/rittle/outside-cvs-src/freebsd-src/sys/LATOUR i386


	
>Description:
	Fix obscure signal-handling bugs.  These patches have been
	in my local shell build for almost 2 years.  They were submitted
	to the es list about that time.  We might as well add them to
	our port collection of fixes since I expect no further releases.

	Also, I noticed that bash in ports enables readline support by
	default.  As it is painful to use es without readline support,
	I will do the same here.
	
>How-To-Repeat:
	
>Fix:

	

--- PL begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/shells/es/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	2000/12/08 13:08:16	1.12
+++ Makefile	2002/10/11 22:08:45
@@ -7,7 +7,7 @@
 
 PORTNAME=	es
 PORTVERSION=	0.9.b1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	shells
 MASTER_SITES=	ftp://ftp.sys.toronto.edu/pub/es/
 DISTNAME=	es-0.9-beta1
@@ -15,6 +15,7 @@
 MAINTAINER=	ljrittle@acm.org
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS= --with-readline
 
 ALL_TARGET=	es
 MAN1=		es.1
--- PL ends here ---


New file files/patch-ac

*** signal.c.orig	Fri Apr 11 15:54:37 1997
--- signal.c	Wed Dec 13 00:59:29 2000
***************
*** 68,74 ****
  
  /* catcher -- catch (and defer) a signal from the kernel */
  static void catcher(int sig) {
! #if !SYSV_SIGNALS /* only do this for unreliable signals */
  	signal(sig, catcher);
  #endif
  	if (hasforked)
--- 68,74 ----
  
  /* catcher -- catch (and defer) a signal from the kernel */
  static void catcher(int sig) {
! #if SYSV_SIGNALS /* only do this for unreliable signals */
  	signal(sig, catcher);
  #endif
  	if (hasforked)
*** prim-ctl.c.orig	Fri Apr 11 15:54:34 1997
--- prim-ctl.c	Wed Dec 13 00:55:27 2000
***************
*** 77,84 ****
  				if (termeq(fromcatcher->term, "retry")) {
  					retry = TRUE;
  					unblocksignals();
! 				} else
  					throw(fromcatcher);
  			EndExceptionHandler
  
  		EndExceptionHandler
--- 77,86 ----
  				if (termeq(fromcatcher->term, "retry")) {
  					retry = TRUE;
  					unblocksignals();
! 				} else {
! 					unblocksignals();
  					throw(fromcatcher);
+ 				}
  			EndExceptionHandler
  
  		EndExceptionHandler
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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