aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-12 23:36:57 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-12 23:36:57 +0800
commitd6633838e0d894a1fff95bf88348ca29f663a94c (patch)
tree0326dc1ad0a1a4e6ea65a1ddc321fc4ea8f53659 /shells
parent60cf530f81b7390f58a46c201303db0f094bcd7b (diff)
downloadfreebsd-ports-gnome-d6633838e0d894a1fff95bf88348ca29f663a94c.tar.gz
freebsd-ports-gnome-d6633838e0d894a1fff95bf88348ca29f663a94c.tar.zst
freebsd-ports-gnome-d6633838e0d894a1fff95bf88348ca29f663a94c.zip
fix obscure signal-handling bugs
add readline support PR: 43945 Submitted by: maintainer
Diffstat (limited to 'shells')
-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)