diff options
author | ak <ak@FreeBSD.org> | 2014-02-05 20:50:20 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2014-02-05 20:50:20 +0800 |
commit | 17e1991d588a2cb45404cab24063f36974056c6d (patch) | |
tree | a3288e54d55e275a91051d8e230042eaa1a95287 | |
parent | 6d1bf488587119ba7440b36b1b7a40795a279023 (diff) | |
download | freebsd-ports-gnome-17e1991d588a2cb45404cab24063f36974056c6d.tar.gz freebsd-ports-gnome-17e1991d588a2cb45404cab24063f36974056c6d.tar.zst freebsd-ports-gnome-17e1991d588a2cb45404cab24063f36974056c6d.zip |
- Fix issue regarding some keys with Firefox (upstream Issue 202)
PR: ports/186399
Submitted by: Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
-rw-r--r-- | www/shellinabox/Makefile | 2 | ||||
-rw-r--r-- | www/shellinabox/files/patch-vt100.jspp | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/www/shellinabox/Makefile b/www/shellinabox/Makefile index 7022d0e8e718..456a34d0cb51 100644 --- a/www/shellinabox/Makefile +++ b/www/shellinabox/Makefile @@ -3,7 +3,7 @@ PORTNAME= shellinabox PORTVERSION= 2.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= GOOGLE_CODE diff --git a/www/shellinabox/files/patch-vt100.jspp b/www/shellinabox/files/patch-vt100.jspp new file mode 100644 index 000000000000..2d53a6f0925b --- /dev/null +++ b/www/shellinabox/files/patch-vt100.jspp @@ -0,0 +1,15 @@ +--- shellinabox/vt100.jspp.orig 2014-02-02 18:01:56.561501876 +0100 ++++ shellinabox/vt100.jspp 2014-02-02 18:03:13.308497522 +0100 +@@ -2894,10 +2894,10 @@ + event.keyCode == 226; + var normalKey = + alphNumKey || +- event.keyCode == 59 || event.keyCode == 61 || ++ event.keyCode >= 59 && event.keyCode <= 64 || + event.keyCode == 106 || event.keyCode == 107 || + event.keyCode >= 109 && event.keyCode <= 111 || +- event.keyCode >= 186 && event.keyCode <= 192 || ++ event.keyCode >= 160 && event.keyCode <= 192 || + event.keyCode >= 219 && event.keyCode <= 223 || + event.keyCode == 252; + try { |