aboutsummaryrefslogtreecommitdiffstats
path: root/shells/es
diff options
context:
space:
mode:
Diffstat (limited to 'shells/es')
-rw-r--r--shells/es/Makefile3
-rw-r--r--shells/es/files/patch-prim-ctl.c14
-rw-r--r--shells/es/files/patch-signal.c11
3 files changed, 27 insertions, 1 deletions
diff --git a/shells/es/Makefile b/shells/es/Makefile
index f27322ee342e..8bb6b6849e6b 100644
--- a/shells/es/Makefile
+++ b/shells/es/Makefile
@@ -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 @@ DISTNAME= es-0.9-beta1
MAINTAINER= ljrittle@acm.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-readline
ALL_TARGET= es
MAN1= es.1
diff --git a/shells/es/files/patch-prim-ctl.c b/shells/es/files/patch-prim-ctl.c
new file mode 100644
index 000000000000..731e5df2de5e
--- /dev/null
+++ b/shells/es/files/patch-prim-ctl.c
@@ -0,0 +1,14 @@
+--- prim-ctl.c.orig Sat Apr 12 04:54:34 1997
++++ prim-ctl.c Sat Oct 12 23:33:16 2002
+@@ -77,8 +77,10 @@
+ if (termeq(fromcatcher->term, "retry")) {
+ retry = TRUE;
+ unblocksignals();
+- } else
++ } else {
++ unblocksignals();
+ throw(fromcatcher);
++ }
+ EndExceptionHandler
+
+ EndExceptionHandler
diff --git a/shells/es/files/patch-signal.c b/shells/es/files/patch-signal.c
new file mode 100644
index 000000000000..dc50c5bcc9e9
--- /dev/null
+++ b/shells/es/files/patch-signal.c
@@ -0,0 +1,11 @@
+--- signal.c.orig Sat Apr 12 04:54:37 1997
++++ signal.c Sat Oct 12 23:33:16 2002
+@@ -68,7 +68,7 @@
+
+ /* catcher -- catch (and defer) a signal from the kernel */
+ static void catcher(int sig) {
+-#if !SYSV_SIGNALS /* only do this for unreliable signals */
++#if SYSV_SIGNALS /* only do this for unreliable signals */
+ signal(sig, catcher);
+ #endif
+ if (hasforked)